This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building an xscale cross compiler



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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]