as0 error building egcs-1.0.2-980309-prerelease on mips-sni-sysv4

Jeff Law law@cygnus.com
Fri Mar 13 10:46:00 GMT 1998


  In message < 199803120250.SAA00185@maui >you write:
  > 
  > 
  > while building egcs-1.0.2-980309-prerelease on mips-sni-sysv4
  > with `make bootstrap`
  > compiling libgcc2.c with the first stage xgcc
  > (just compiled with the native cc) the following line
  > 
  >  ./xgcc -B./ -O2   -DIN_GCC  -DNO_SYS_SIGLIST  -g -I./include   -g1 -DIN_LI
  > BGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions   -I. -I. -I./config -c -DL_div
  > di3 \
  >               ./libgcc2.c -o _divdi3.o; 
  > 
  > gives the following errors
  > 
  >  cc1: warning: `-g' not supported by this configuration of GCC
  >  cc1: warning: `-g1' not supported by this configuration of GCC
  >  as0: Error: ./libgcc2.c, line 1:Badly delimited numeric literal
  >       .4byte $LECIE1-$LSCIE1
  >  as0: Error: ./libgcc2.c, line 1:malformed statement
  >  as0: Error: ./libgcc2.c, line 1:Badly delimited numeric literal
Sounds like you need to use gas.    This is a pretty common failure
for MIPS assemblers.

I guess I need to update the faq :-)

jeff




More information about the Gcc-bugs mailing list