🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #164

Re:

#164
From: Tom McConnell
Date: Fri, 24 Jul 1992 15:14
58 lines
2843 bytes
  I think I found the problem. If you look in the INSTALL file, you will see
you need to start the first compile with:

      make LANGUAGES=c

  The problem you are having is that LANGUAGES is set to "c c++ objective-c
proto" in the Makefile. My guess is that you are starting the make just by
typing "make", and since cc does not know c++, the make is failing.

 In your log file, notice that the names of the files you are failing on:

	  `echo ./cp-parse.c | sed 's,^\./,,'`
"bison.simple", line 34.0: 1506-262 (W) #pragma directive must occur before first C statement in program. #pragma ignored.

and

	cc -c    -g     -I. -I. -I./config cp-lex.c
"cp-lex.c", line 67.0: 1506-041 (S) Parameter list cannot contain fewer parameters than required by macro definition.

  Both of these files are in the Makefile as "CPLUS_OBJS."

  Here is my handy-dandy roadmap for making gcc:

  [ For ultrix and Sun insert a "sleep 1" between the gmake statement ]
  [ and the tail command. The file does not get generated fast enough ]
  [ and tail errors out.                                              ]

  (for example)    configure --host=sun3-sunos3 --target=sparc-sun-sunos4.1

1 - gmake LANGUAGES=c > & gmake_stage0.log & ; tail -f gmake_stage0.log
2 - gmake stage1
3 - gmake CC=stage1/gcc CFLAGS="-g -O -Bstage1/" > & gmake_stage1.log & ; \
  tail -f gmake_stage1.log
4 - gmake stage2
5 - gmake CC=stage2/gcc CFLAGS="-g -O -Bstage2/" > & gmake_stage2.log & ; \
  tail -f gmake_stage2.log
6 - gmake compare >& gmake_compare.log& ; tail -f gmake_compare.log
7 - gmake CC=stage2/gcc install > & gmake_install.log & ; tail -f \
  gmake_install.log
8 - gmake CC="stage2/gcc -O" install-collect2 > & gmake_collect2.log & ; \
  tail -f gmake_collect2.log
9 - gmake CC="stage2/gcc -O" install-proto > & gmake_proto.log & ; \
  tail -f gmake_proto.log

  For ultrix and sun (and others):
10 - gmake install-fixincludes > & gmake_fixincludes.log & ; tail -f \
  gmake_fixincludes.log


    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-21     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Technical Details
Message-ID: <1992Jul24.151426.21334@ichips.intel.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!eff!iWarp.intel.com|ichips!tmcconne
References: <9207240600.AA26321@st6000.sct.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!eff!iWarp.intel.com|ichips!tmcconne
From: tmcconne@sedona.intel.com (Tom McConnell)
Subject: Re: 
Message-ID: <1992Jul24.151426.21334@ichips.intel.com>
Originator: tmcconne@sedona
Sender: tmcconne@sedona (Tom McConnell)
Reply-To: tmcconne@sedona.intel.com
Organization: Intel Corporation
References:  <9207240600.AA26321@st6000.sct.edu>
Distribution: gnu
Date: Fri, 24 Jul 1992 15:14:26 GMT
Lines: 58