home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / gcc / help / 1972 < prev    next >
Encoding:
Text File  |  1992-08-21  |  3.3 KB  |  75 lines

  1. Newsgroups: gnu.gcc,gnu.gcc.help
  2. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!news.oc.com!spssig.spss.com!uchinews!machine!chinet!naughton
  3. From: naughton@chinet.chi.il.us (Thomas Naughton)
  4. Subject: GCC compile bombs in stage1 compile.  Help!
  5. Message-ID: <BtBC2v.319@chinet.chi.il.us>
  6. Organization: Chinet - Public Access UNIX
  7. Date: Fri, 21 Aug 1992 02:54:31 GMT
  8. Lines: 65
  9.  
  10.     My first compile goes off without much problem.  But things really
  11. start to fall apart when I try to compile GCC with itself.  First I
  12. do a:
  13.     make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
  14. and I get errors complaining about stdio.h which read:
  15. /usr/include/stdio.h:29: Invalid token in expression
  16. /usr/include/stdio.h:32: Invalid token in expression
  17. /usr/include/stdio.h:40: Invalid token in expression
  18. /usr/include/stdio.h:197: Invalid token in expression
  19. *** Error code 1 (bu21)
  20.  
  21.    Which is rel\ally strange since I would think that stdio.h would be
  22. relatively bug free by now.  I can go in and remove the offending code
  23. (a bunch of #if directives and set them to what they should read).  Then 
  24. I get a little further after I type:
  25.         make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
  26. I get the response:
  27.         stage1/gcc -g -O -Bstage1/ -I. -I. -I./config \
  28.           -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
  29.           -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c \
  30.           `echo ./gcc.c | sed 's,^\./,,'`
  31. Assembler: gcc.c
  32.         aline 5 : .def directive obsolete
  33.         aline 5 : .scl directive obsolete
  34.         aline 5 : obsolete use of .type directive
  35.         aline 5 : .endef directive obsolete
  36.         aline 6 : .def directive obsolete
  37.         aline 6 : .scl directive obsolete
  38.         aline 6 : obsolete use of .type directive
  39.         aline 6 : .endef directive obsolete
  40.         aline 7 : .def directive obsolete
  41.         aline 7 : .scl directive obsolete
  42.         aline 7 : obsolete use of .type directive
  43.         aline 7 : obsolete use of .size directive
  44.         aline 7 : .endef directive obsolete
  45.         aline 8 : .def directive obsolete
  46.         aline 8 : .val directive obsolete
  47.         aline 8 : .scl directive obsolete
  48.         aline 8 : obsolete use of .type directive
  49.         aline 8 : .endef directive obsolete
  50.         aline 9 : .def directive obsolete
  51.         aline 9 : .val directive obsolete
  52.         aline 9 : .scl directive obsolete
  53.         aline 9 : obsolete use of .type directive
  54.         aline 9 : .endef directive obsolete
  55.         aline 10        : .def directive obsolete
  56.         aline 10        : .val directive obsolete
  57.         aline 10        : .scl directive obsolete
  58.         aline 10        : obsolete use of .type directive
  59.         aline 10        : .endef directive obsolete
  60.         aline 11        : .def directive obsolete
  61.         aline 11        : .val directive obsolete
  62.         aline 11        : .scl directive obsolete
  63. Too many errors - Goodbye
  64. *** Error code 1 (bu21)
  65.  
  66. make: fatal error.
  67.    Has anyone seen this before.  I'm confused.  I'm running AT&T's 
  68. SysVR4.2.1 and I don't know what to try next.  Any and all help would
  69. be appreciated.  Thanks!
  70.  
  71. -- 
  72. Thomas M. Naughton                  "Love is chemistry, but sex is physics"
  73. naughton@nauts.chi.il.us (prefered)   naughton@chinet.chi.il.us (alternate)
  74. Nobody is responsible for anything I say or do but me.  Sometimes not even me.
  75.