Article View: gnu.gcc.help
Article #52376Fix-includes.
From: Tobias Weingartner
Date: Wed, 21 Oct 1992 12:22
Date: Wed, 21 Oct 1992 12:22
43 lines
2017 bytes
2017 bytes
Hello all. This one has finally brought me to my knees. If anyone can help, I'll be eternally gratefull. I built gcc2.2.2 with the following sequence: ./configure sun4 make LANGUAGES=c make stage1 make CC="stage1/gcc -Bstage1/" CFLAGS="-g -O" make stage2 make CC="stage2/gcc -Bstage2/" CFLAGS="-g -O" make compare /bin/su make CC="stage2/gcc -Bstage2/" CFLAGS="-g -O" install LANGUAGES="c c++ objective-c proto" make install-fixincludes This chewed away quite a while. The compare went fine. The install went fine. But the install-fixincludes did not go very well. Most of the files that need to get fixed, got fixed. Others did not. For example, in stdlib.h (/usr/local/lib/gcc-lib/sun4/2.2.2/include), the definition for getenv is: extern char * getenv(/* const char *name */); When I try to compile groff-1.06, there is an error to the effect that there are being too many arguments passed to 'getenv'. The offending line does pass only ONE argument. Being smart (so I thought), I started editing the 'stdlib.h', taking out the comments. IE: extern char * getenv( const char *name ); Well, now groff-1.06 will get past the point it stopped before. Obviously, something is amiss. Does anyone have a solution? Please? Thanks in advance for replies. --Toby.
Technical Details
Message-ID:
<1992Oct21.122216.20875@neptune.inf.ethz.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!usc!sol.ctr.columbia.edu!ira.uka.de!chx400!bernina!neptune!weingartShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,15dca2e206ea4b7b,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-10-21 01:03:28 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!usc!sol.ctr.columbia.edu!ira.uka.de!chx400!bernina!neptune!weingart From: weingart@inf.ethz.ch (Tobias Weingartner) Subject: Fix-includes. Message-ID: <1992Oct21.122216.20875@neptune.inf.ethz.ch> Followup-To: poster Keywords: fixincludes, gcc2.2.2 Sender: news@neptune.inf.ethz.ch (Mr News) Nntp-Posting-Host: tau.inf.ethz.ch Reply-To: weingart@inf.ethz.ch Organization: ETH - Switzerland Date: Wed, 21 Oct 1992 12:22:16 GMT Lines: 44