unable to compile gdb 6.0 as a cross gdb; no termcap library found; and plain gcc is still called

Wolcott, Ken (MED, Compuware) Ken.Wolcott@med.ge.com
Tue Oct 28 19:18:00 GMT 2003


Hi Marc;

  I think I tried everything that you and Dan suggested, but I have some 
problems still.

  First, there are many initial calls to gcc rather than 
arm-arm9-linux-gnu-gcc that are suspicious to me.  How can I end up with an 
arm9 native gdb if it is calling the i686 gcc?

  Secondly, the build dies with:

configure: error: no termcap library found
make: *** [configure-gdb] Error 1

  I have attached the compressed output log and my compile script.

  I guess /etc is missing in the PATH environment variable?  I'll try that 
tack next.

Thanks,
Ken

On Tuesday 28 October 2003 11:54, Marc Kleine-Budde wrote:
> On Tue, Oct 28, 2003 at 11:47:46AM -0600, Wolcott, Ken (MED, Compuware) 
wrote:
> >   Very nice.  I'll try that.  I think I already tried it with the CC
> > variable. So a full path is not requred to that environment variable? 
> > Apparently that will have to be in the path.
>
> Yes - CC with full path and/or set the PATH adquate...Probably you have
> to give all programms from the binutils and gcc via the environment...
>
> > > CC=arm-arm9-linux-gnu-gcc \
> > > AR=arm-arm9-linux-gnu-ar \
> > > <TOOL>=arm-arm9-linux-gnu-<tool> \
> > > ../gdb-6.0/configure \
> > > --verbose \
> > > --host=arm-arm9-linux-gnu \
> > > --build=i686-pc-linux-gnu \
> > > --target=arm-arm9-linux-gnu\
> > > + the rest
>
> Marc

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list