This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: cross compiling


   From: Larbi El Hajjaoui <lehajjaoui@ubisoft.co.ma>
   Date: Mon, 11 Oct 1999 18:20:36 +0200

   Hi,
   there is someone that has succeeds cross compiling of egcs under linux for
   mips
   I already installed binutils for Mips before building egcs 

   when I try to build gcc, I get one error message in the last stage:

     _m16addsf3
   xgcc: installation problem, cannot exec `mips-tfile': no such file or
   directory
   make[1]: *** [libgcc1-asm.a] Error 1
   make[1]: Leaving directory `/home/larbi/gcc-2.95.1/gcc'
   make: *** [all-gcc] Error 2

configure egcs with --with-gnu-as --with-gnu-ld

For most non-mips targets and for mips embedded targets you won't need this.

Saying "for mips" is insufficient btw.  I would have thought you wouldn't
run into this for embedded mips targets (or mips-linux for that matter).
Always specify all arguments passed to configure
when asking for help - it makes things go much more smoothly.
It also a good idea to specify the configuration of your host too -
"under linux" is also insufficient (usually it won't matter, but
best to play it safe: the output of `sh $egcs/config.guess' is what we want).

Scott, this one should go in the FAQ.
I'll crib something up if you want (there might already be something
elsewhere).

------
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]