This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: unable to compile gdb 6.0 as a cross gdb; no termcap library found; and plain gcc is still called
- From: "Wolcott, Ken (MED, Compuware)" <Ken dot Wolcott at med dot ge dot com>
- To: kleine-budde at gmx dot de
- Cc: crossgcc at sources dot redhat dot com, gdb mailing list <gdb at sources dot redhat dot com>
- Date: Tue, 28 Oct 2003 13:20:07 -0600
- Subject: Re: unable to compile gdb 6.0 as a cross gdb; no termcap library found; and plain gcc is still called
- Organization: GEMS-IT
- References: <200310271747.52297.ken.wolcott@med.ge.com> <200310281147.46663.ken.wolcott@med.ge.com> <20031028175402.GA30757@timberwolf.dyndns.org>
- Reply-to: "Wolcott, Ken (MED, Compuware)" <ken dot wolcott at med dot ge dot com>
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