This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: gcc3.0 cross-compilor compiling error


You have to configure gcc with '--with-gnu-as' '--with-gnu-ld' options.

Sean Chang

----- Original Message -----
From: "jason jiang" <jasonjiang2000@hotmail.com>
To: <crossgcc@sources.redhat.com>
Sent: Wednesday, July 18, 2001 5:00 PM
Subject: gcc3.0 cross-compilor compiling error


> Hi, Sir,
>
> I try to build a cross-compilor for my embeded MIPS system.  I installed
the
> latest cygwin on Windows2000 system.  I try to build xgcc for cygwin. I
> install binutils-2.11.2 without error. However, when building gcc-3.0
> cross-compilor, it failed.
>
> The commands issued are:
>
> mkdir build-binutils
> cd build-binutils
> ../binutils-2.11.2/configure --target=mips --prefix=/tools/mipstools -v
> make all install
> cd ..
> PATH=/tools/mipstools/bin:$PATH
> export PATH
>
> mkdir build-gcc
> cd build-gcc
> ../gcc-3.0/configure --target=mips --prefix=/tools/mipstools -v
> make all install
>
> The error message is:
>
> xgcc: installation problems, cannot exec 'mips-tfile': no such file or
> directory
>
> I have tried --target=mips-elf and --target=mips-coff, the results were
> the same.
>
> Can anyone help on this?
>
> Regards,
> Jason
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> ------
> Want more information?  See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
>
>


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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