🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53543

Re: ANSI C on Sun (Was Re: How stable is GNU gcc?)

#53543
From: Dwight Shih
Date: Wed, 23 Oct 1991 16:46
25 lines
1613 bytes
In article <9110222325.AA06815@mole.gnu.ai.mit.edu> rms@gnu.ai.mit.edu (Richard Stallman) writes:
>
>	    Actually, it's worse than that.  If you install gcc then
>	    all include files in /usr/include are useless because they
>	    are for Sun's cc.
>
>...
>might exist.  As far as I know, the standard include files on a Sun
>work with GCC; that is the only way anyone can compile anything with
>GCC on a Sun.  I used to use GCC on a Sun and I know it worked.

Actually, I discovered an incompatibility while building flex-2.3.7 
this week.

gcc-include/stddef.h goes through a herd of #ifndef ...'s
before it typedefs size_t.

Unfortunately, it doesn't check for __sys_stdtypes_h or __sys_types_h.
Currently (SunOS 4.1.1),  sys/types.h includes sys/stdtypes.h which
typedefs size_t along with a herd of other stuff.

Other than that, I haven't had any problems with gcc (1.40)
on my Sparc 2.

-dwight			(dwight@s1.gov)
Technical Details
Message-ID: <28316@pearl.s1.gov.s1.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!lll-winken!s1.gov!truck_a_saurus.s1.gov!dwight
References: <36758@usc.edu> <9110222325.AA06815@mole.gnu.ai.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,68bf95907bffc8e2
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1991-10-24 05:08:22 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!lll-winken!s1.gov!truck_a_saurus.s1.gov!dwight
From: dwight@truck_a_saurus.s1.gov (Dwight Shih)
Newsgroups: gnu.gcc.help
Subject: Re: ANSI C on Sun (Was Re: How stable is GNU gcc?)
Message-ID: <28316@pearl.s1.gov.s1.gov>
Date: 23 Oct 91 16:46:16 GMT
References: <36758@usc.edu> <9110222325.AA06815@mole.gnu.ai.mit.edu>
Sender: news@s1.gov.s1.gov
Distribution: gnu
Organization: Lawrence Livermore National Labs, Livermore CA
Lines: 25