home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc,gnu.gcc.help
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!news.oc.com!spssig.spss.com!uchinews!machine!chinet!naughton
- From: naughton@chinet.chi.il.us (Thomas Naughton)
- Subject: GCC compile bombs in stage1 compile. Help!
- Message-ID: <BtBC2v.319@chinet.chi.il.us>
- Organization: Chinet - Public Access UNIX
- Date: Fri, 21 Aug 1992 02:54:31 GMT
- Lines: 65
-
- My first compile goes off without much problem. But things really
- start to fall apart when I try to compile GCC with itself. First I
- do a:
- make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
- and I get errors complaining about stdio.h which read:
- /usr/include/stdio.h:29: Invalid token in expression
- /usr/include/stdio.h:32: Invalid token in expression
- /usr/include/stdio.h:40: Invalid token in expression
- /usr/include/stdio.h:197: Invalid token in expression
- *** Error code 1 (bu21)
-
- Which is rel\ally strange since I would think that stdio.h would be
- relatively bug free by now. I can go in and remove the offending code
- (a bunch of #if directives and set them to what they should read). Then
- I get a little further after I type:
- make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
- I get the response:
- stage1/gcc -g -O -Bstage1/ -I. -I. -I./config \
- -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
- -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c \
- `echo ./gcc.c | sed 's,^\./,,'`
- Assembler: gcc.c
- aline 5 : .def directive obsolete
- aline 5 : .scl directive obsolete
- aline 5 : obsolete use of .type directive
- aline 5 : .endef directive obsolete
- aline 6 : .def directive obsolete
- aline 6 : .scl directive obsolete
- aline 6 : obsolete use of .type directive
- aline 6 : .endef directive obsolete
- aline 7 : .def directive obsolete
- aline 7 : .scl directive obsolete
- aline 7 : obsolete use of .type directive
- aline 7 : obsolete use of .size directive
- aline 7 : .endef directive obsolete
- aline 8 : .def directive obsolete
- aline 8 : .val directive obsolete
- aline 8 : .scl directive obsolete
- aline 8 : obsolete use of .type directive
- aline 8 : .endef directive obsolete
- aline 9 : .def directive obsolete
- aline 9 : .val directive obsolete
- aline 9 : .scl directive obsolete
- aline 9 : obsolete use of .type directive
- aline 9 : .endef directive obsolete
- aline 10 : .def directive obsolete
- aline 10 : .val directive obsolete
- aline 10 : .scl directive obsolete
- aline 10 : obsolete use of .type directive
- aline 10 : .endef directive obsolete
- aline 11 : .def directive obsolete
- aline 11 : .val directive obsolete
- aline 11 : .scl directive obsolete
- Too many errors - Goodbye
- *** Error code 1 (bu21)
-
- make: fatal error.
- Has anyone seen this before. I'm confused. I'm running AT&T's
- SysVR4.2.1 and I don't know what to try next. Any and all help would
- be appreciated. Thanks!
-
- --
- Thomas M. Naughton "Love is chemistry, but sex is physics"
- naughton@nauts.chi.il.us (prefered) naughton@chinet.chi.il.us (alternate)
- Nobody is responsible for anything I say or do but me. Sometimes not even me.
-