This is the mail archive of the crossgcc@sources.redhat.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] |
Good morning- Chen Zhang wrote: > > When I tried to build the mips-mips-elf cross-compiler on i686-pc-cygwin > host, I got the following error message. I dont' know how to fix it, can > someone help? Thanks. > > ... > > as: unrecognized option `-G' > make[1]: *** [libgcc1-asm.a] Error 1 > make[1]: Leaving directory `/build/gcc' > make: *** [all-gcc] Error 2 I encountered a similar error recently building for mips-any-elf. It occurs when your compiler executes the wrong 'as' program; the stock version does not recognize the -G option. To solve the problem you must make sure your cross assembler is installed correctly, probably in /usr/local/mips-mips-elf/bin. If you configure binutils with --target=mips-mips-elf and --prefix=/usr/local/mips-mips-elf then 'make all install' (in the binutils directory) it should take care of the problem. Hope that helps! -Eric ------------------------------------------ Eric H. Weigle CIC-5 Network Engineering Los Alamos National Laboratory P.O. Box 1663, MS D451 Los Alamos, NM 87545 Email: ehw@lanl.gov Phone: (505)667-5588 ------------------------------------------ ------ 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] |