Can't build gcc on SunOS

Jeffrey A Law law@cygnus.com
Fri Oct 1 00:00:00 GMT 1999


  In message < 7slu2o$2k4@gap.cco.caltech.edu >you write:
  > When I attempt to 'make bootstrap' the build fails using either the
  > old version of gcc or cc (whichever variety Sun shipped with the OS).
  > gcc barfs on cppinit.c on the section around lines 220-240, with a lot
  > of cannot parse before = type messages.  (Sorry I don't have the exact
  > message, but that was yesterday's attempt and it gets about a hour
  > into the build before it happens, so I don't feel like reproducing
  > it.) 
We would need the exact message.  Otherwise we're just fumbling in the dark.
Note that other folks have managed to build gcc-2.95.1 on Stunos, so it
*should* just work.


 cc complains about unroll.c:
  > 
  > "/home/kevin/install/gnu/gcc-2.95.1/gcc/unroll.c", line 772: warning: illeg
  > al combination of pointer and integer, op =
  > as: "/tmp/ccom.15896.1.s", line 11602: error: statement syntax
  > make[2]: *** [unroll.o] Error 1
This sounds like a bug in either "cc" or "as" on your system.  But there's
no way to be sure without seeing the contents of the generated assembly code.
jeff



More information about the Gcc-help mailing list