home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / gcc / help / 1772 < prev    next >
Encoding:
Text File  |  1992-07-24  |  2.7 KB  |  73 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!eff!iWarp.intel.com|ichips!tmcconne
  3. From: tmcconne@sedona.intel.com (Tom McConnell)
  4. Subject: Re: 
  5. Message-ID: <1992Jul24.151426.21334@ichips.intel.com>
  6. Originator: tmcconne@sedona
  7. Sender: tmcconne@sedona (Tom McConnell)
  8. Reply-To: tmcconne@sedona.intel.com
  9. Organization: Intel Corporation
  10. References:  <9207240600.AA26321@st6000.sct.edu>
  11. Distribution: gnu
  12. Date: Fri, 24 Jul 1992 15:14:26 GMT
  13. Lines: 58
  14.  
  15.  
  16.   I think I found the problem. If you look in the INSTALL file, you will see
  17. you need to start the first compile with:
  18.  
  19.       make LANGUAGES=c
  20.  
  21.   The problem you are having is that LANGUAGES is set to "c c++ objective-c
  22. proto" in the Makefile. My guess is that you are starting the make just by
  23. typing "make", and since cc does not know c++, the make is failing.
  24.  
  25.  In your log file, notice that the names of the files you are failing on:
  26.  
  27.       `echo ./cp-parse.c | sed 's,^\./,,'`
  28. "bison.simple", line 34.0: 1506-262 (W) #pragma directive must occur before first C statement in program. #pragma ignored.
  29.  
  30. and
  31.  
  32.     cc -c    -g     -I. -I. -I./config cp-lex.c
  33. "cp-lex.c", line 67.0: 1506-041 (S) Parameter list cannot contain fewer parameters than required by macro definition.
  34.  
  35.   Both of these files are in the Makefile as "CPLUS_OBJS."
  36.  
  37.   Here is my handy-dandy roadmap for making gcc:
  38.  
  39.   [ For ultrix and Sun insert a "sleep 1" between the gmake statement ]
  40.   [ and the tail command. The file does not get generated fast enough ]
  41.   [ and tail errors out.                                              ]
  42.  
  43.   (for example)    configure --host=sun3-sunos3 --target=sparc-sun-sunos4.1
  44.  
  45. 1 - gmake LANGUAGES=c > & gmake_stage0.log & ; tail -f gmake_stage0.log
  46. 2 - gmake stage1
  47. 3 - gmake CC=stage1/gcc CFLAGS="-g -O -Bstage1/" > & gmake_stage1.log & ; \
  48.   tail -f gmake_stage1.log
  49. 4 - gmake stage2
  50. 5 - gmake CC=stage2/gcc CFLAGS="-g -O -Bstage2/" > & gmake_stage2.log & ; \
  51.   tail -f gmake_stage2.log
  52. 6 - gmake compare >& gmake_compare.log& ; tail -f gmake_compare.log
  53. 7 - gmake CC=stage2/gcc install > & gmake_install.log & ; tail -f \
  54.   gmake_install.log
  55. 8 - gmake CC="stage2/gcc -O" install-collect2 > & gmake_collect2.log & ; \
  56.   tail -f gmake_collect2.log
  57. 9 - gmake CC="stage2/gcc -O" install-proto > & gmake_proto.log & ; \
  58.   tail -f gmake_proto.log
  59.  
  60.   For ultrix and sun (and others):
  61. 10 - gmake install-fixincludes > & gmake_fixincludes.log & ; tail -f \
  62.   gmake_fixincludes.log
  63.  
  64.  
  65.     Cheers,
  66.  
  67.     Tom McConnell
  68. -- 
  69.  Tom McConnell          |     Internet: tmcconne@sedona.intel.com
  70.  Intel, Corp. C3-21     |     Phone: (602)-554-8229
  71.  5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
  72.  Chandler, AZ  85226    | their right mind would claim them.
  73.