This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB Cross compiling Error !


> Hi,
> 
> I downloaded and unpacked gdb-5.1 and switched to gdb-5.1 derectory and
> set the
> compiler to arm-linux-gcc( export CC=arm-linux-gcc) and entered
> ./configure, at command line,when
> configuration was in progress i got error: Which I found a common error
> in building gdb

Hmm, I'm not sure what you're trying to build.  If it is a cross 
debugger than configure with something like:

	..../configure --target=arm-linux

If it is a cross compile, then something like:

	..../configure --target=arm-linux --host=arm-linux --build=`.../config.sub`

Andrew

> Configure: error: Could not find a term library.
> 
> To solve this probelm i tried to install the corresponding rpms like :
> libtercap*.rpm,libterm-devel*.rpm , ncurses*.rpm and
> ncurss-devel*.rpm.But found which  are already installed.
> 
> Can any one tell me how do I go about it,
> 
> I am using  i586 wiht RH7.1
> 
> Regards
> Nagaraj
> 
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]