Article View: gnu.gcc.help
Article #52264Re: Problems building GCC on SCO systems
From: Curtis L. Olson
Date: Mon, 07 Dec 1992 21:24
Date: Mon, 07 Dec 1992 21:24
32 lines
2278 bytes
2278 bytes
In <9212071040.AA10051@noa.csrl.aoyama.ac.jp> rms@noa.csrl.aoyama.ac.jp (Richard Stallman) writes: >There are problems building GCC on recent SCO systems. Several people >have found an apparent solution of defining STDC_VALUE as 0. This >appears to work, but it is actually incorrect because it causes GCC to >define __STDC__ as 0 *all the time*. >This is incorrect because GCC is supposed to handle __STDC__ the same >way on all machines: namely, it should be 1. >The reason people are tempted to make this change is that the SCO >header files expect __STDC__ to be 0, and get confused if it isn't. >However, fixincludes is supposed to change the conditionals in the >header files so they will work properly with __STDC__ == 1. So the >problem should be limited to the compilation of GCC itself. >Can anyone find a way around this problem which alters only the >compilation of GCC and does not alter what GCC does when installed? I encountered this problem only after installing the 3.2.4 (current version of the) development system. GCC seemed to work fine with the version 3.2.2 header files. So, what I did was copy all the version 3.2.2 header files to a directory such as /usr1/include -- leaving all the 3.2.4 header files in their usual places. I was then able to compile with the following command: % gcc -nostdinc -I/usr1/include ... etc. This only works if you have the 3.2.2 development system. Curtis Olson (olson@cs.umn.edu) -- . --o0o-- Curtis Olson (olson@cs.umn.edu)
Technical Details
Message-ID:
<olson.723763461@deci>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!spool.mu.edu!umn.edu!deci!olsonReferences:
<9212071040.AA10051@noa.csrl.aoyama.ac.jp>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6a449715e9984da6 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-12-07 13:40:33 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!spool.mu.edu!umn.edu!deci!olson From: olson@deci.cs.umn.edu (Curtis L. Olson) Subject: Re: Problems building GCC on SCO systems Message-ID: <olson.723763461@deci> Sender: news@news2.cis.umn.edu (Usenet News Administration) Nntp-Posting-Host: deci.cs.umn.edu Organization: University of Minnesota References: <9212071040.AA10051@noa.csrl.aoyama.ac.jp> Distribution: gnu Date: Mon, 7 Dec 1992 21:24:21 GMT Lines: 32