Really cross compiling gdb.
Daniel Jacobowitz
drow@false.org
Fri Jan 13 04:08:00 GMT 2006
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
More information about the Gdb
mailing list