FW: MIPS Cross compiler build error

Chen Zhang C_Zhang@lbl.gov
Sun Jul 9 14:06:00 GMT 2000

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.

rm -f tmplibgcc1.a libgcc1.S
cp /tmp/gcc-2.95.2/gcc/config/mips/mips16.S libgcc1.S
for name in _m16addsf3 _m16subsf3 _m16mulsf3 _m16divsf3 _m16eqsf2 _m16nesf2
gtsf2 _m16gesf2 _m16lesf2 _m16ltsf2 _m16fltsisf _m16fixsfsi _m16adddf3
3 _m16muldf3 _m16divdf3 _m16extsfdf2 _m16trdfsf2 _m16eqdf2 _m16nedf2
_m16gtdf2 _
m16gedf2 _m16ledf2 _m16ltdf2 _m16fltsidf _m16fixdfsi _m16retsf _m16retdf
b1 _m16stub2 _m16stub5 _m16stub6 _m16stub9 _m16stub10 _m16stubsf0
_m16stubsf1 _m
16stubsf2 _m16stubsf5 _m16stubsf6 _m16stubsf9 _m16stubsf10 _m16stubdf0
f1 _m16stubdf2 _m16stubdf5 _m16stubdf6 _m16stubdf9 _m16stubdf10; \
do \
  echo ${name}; \

/build/gcc/xgcc -B/build/gcc/ -B/usr/local/mips/bin/ -I/usr/local/mips/inclu
 -O2  -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include  -G
 -g1  -DIN_LIBGCC2 -D
__GCC_FLOAT_NOT_NEEDED   -I. -I/tmp/gcc-2.95.2/gcc -I/tmp/gcc-2.95.2/gcc/con
-I/tmp/gcc-2.95.2/gcc/../include -c -DL${name} libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  mips-ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
as: unrecognized option `-G'
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/build/gcc'
make: *** [all-gcc] Error 2

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

More information about the crossgcc mailing list