This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Re: Re: Really cross compiling gdb.
- From: Daniel Jacobowitz <drow at false dot org>
- To: James Steward <jamessteward at optusnet dot com dot au>
- Cc: Simon Richter <Simon dot Richter at picotux dot com>, gdb at sources dot redhat dot com
- Date: Thu, 12 Jan 2006 23:08:26 -0500
- Subject: Re: Re: Re: Really cross compiling gdb.
- References: <200601122235.k0CMZlFr017127@mail02.syd.optusnet.com.au>
On Fri, Jan 13, 2006 at 09:35:47AM +1100, James Steward wrote:
> > Daniel Jacobowitz <drow@false.org> wrote:
> >
> > On Thu, Jan 12, 2006 at 09:00:15AM +1100, James Steward wrote:
> > > ../configure
> > --prefix=/usr/local/arm-linux/gcc-3.4.4-glibc-2.3.5/arm-xscale-linux-gnu/
> > --program-prefix=arm-xscale-linux-gnu- --build=`../config.guess`
> > --target=arm-xscale-linux-gnu --host=arm-xscale-linux-gnu
> > >
> > > Still the i386 gcc is used rather than the cross
> > arm-xscale-linux-gnu-gcc, and of course file gdb/gdb says ;
> > > gdb/gdb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> > GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped
> > > When I was hoping for an ARM executable.
> >
> > What does the output of configure look like?
> >
> Hi Daniel.
>
> It looks pretty much how I'd expect - but eh, I'm certainly no expert..
>
> I've attached the config.status and make.out from make 2>&1 | tee make.out
Is CC=gcc set in your environment, or something similar? Find out why
configure is checking for arm-xscale-linux-gnu-gcc and using 'gcc'.
--
Daniel Jacobowitz
CodeSourcery