Building an xscale cross compiler
Johnathan Davis
maxfischer_81@hotmail.com
Mon Aug 26 13:15:00 GMT 2002
Yes. Good point. However, if I continue on and try to install newlib
targeting xscale-elf, it appears that the gcc build step has not yet
generated the xscale-elf-gcc binary. The xgcc residing in the
gcc3_build/gcc directory appears to be unfinished. That is, an attempt to
compile with this xgcc does not work, as cc1 still needs to be linked in
somehow. Are you suggesting I add gcc3_build/gcc to my path and rename xgcc
to xscale-elf-gcc in the gcc3_install/bin directory?
thanks again
-j
make[3]: Entering directory
`/home/kbuza/gcc3newlib/xscale-elf/newlib/libc/stdlib'
xscale-elf-gcc -B/home/kbuza/gcc3newlib/xscale-elf/newlib/ -isystem
/home/kbuza/gcc3newlib/xscale-elf/newlib/targ-include -isystem
/home/kbuza/gcc3/newlib-1.10.0/newlib/libc/include -DPACKAGE=\"newlib\"
-DVERSION=\"1.10.0\" -I.
-I../../../../../gcc3/newlib-1.10.0/newlib/libc/stdlib -O2 -DABORT_PROVIDED
-DHAVE_GETTIMEOFDAY -DARM_RDI_MONITOR -I../../targ-include
-I../../../../../gcc3/newlib-1.10.0/newlib/libc/../libc/include -fno-builtin
-g -O2 -c
../../../../../gcc3/newlib-1.10.0/newlib/libc/stdlib/__adjust.c
make[3]: xscale-elf-gcc: Command not found
>From: Wei Qin <wqin@EE.Princeton.EDU>
>To: Johnathan Davis <maxfischer_81@hotmail.com>
>CC: gcc-help@gcc.gnu.org
>Subject: Re: Building an xscale cross compiler
>Date: Mon, 26 Aug 2002 15:31:54 -0400 (EDT)
>
>
>
>I think you can ignore this.
>The configuration file is trying to build binaries with the cross
>compiled gcc and run it. Of course it will fail since your xgcc produces
>xscale binary.
>
>Wei
>
>On Mon, 26 Aug 2002, Johnathan Davis wrote:
>
> > Hi,
> > I'm currently attempting to build a (gcc3.0.4) cross compiler for Linux
>on
> > XScale. I am trying to build this cross compiler on an x86 Linux
>machine.
> > My approach has been the following:
> >
> > build binutils:
> > binutils> ../binutils/configure --target=xscale-elf
>--prefix=/gcc3_install
> > binutils> make all install
> >
> > build gcc
> > gcc3_build> ../gcc304/configure --target=xscale-elf
>--prefix=/gcc3_install
> > gcc3_build> make all install
> >
> > This invariably results in the following error:
> >
> > checking whether the C compiler (/gcc3_build/gcc/xgcc -B/gcc3_build/gcc/
> > -B/gcc3_install/xscale-elf/bin/ -B/gcc3_install/xscale-elf/lib/ -isystem
> > /gcc3_install/xscale-elf/include -g -O2 ) works... no
> > configure: error: installation or configuration problem: C compiler
>cannot
> > create executables.
> > make: *** [configure-target-libiberty] Error 1
> >
> > The associated config.log file is attached. What am I failing to
>configure
> > correctly?
> >
> > thanks
> >
> > -j
> >
> >
> >
> >
> >
> >
> > _________________________________________________________________
> > Join the worldÂs largest e-mail service with MSN Hotmail.
> > http://www.hotmail.com
> >
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
More information about the Gcc-help
mailing list