GDB Cross compiling Error !

Andrew Cagney ac131313@cygnus.com
Thu Apr 4 08:57:00 GMT 2002


> 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
> 
> 




More information about the Gdb mailing list