🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50979

Re: ANSI headers for SunOS?

#50979
From: Minh Tran-Le
Date: Sat, 17 Jul 1993 16:28
24 lines
1867 bytes
alan@hdl.ie (Alan Conway) writes:

|Can anyone tell me where I can get a complete set of ANSI C include
|files with prototypes which are compatible with gcc and SunOS (4.1.1)?
|I have been using the files produced by gcc's fixincludes, plus some
|hacks of my own to often used include files, but it's a real pain
|merging the hacks back into the fixincludes for each new release of
|gcc, and they are far from complete. I'm sure this is a commonly
|encountered and solved problem, but I haven't been able to find a
|clean solution - any ideas?

If you have local modification of system header files, I think you 
should put them in /usr/local/include.  The GCC fixinclude script
will not touch them. 

GCC has /usr/local/include in its include path by default.  But as the
machine/target specfic include (/usr/local/lib/gcc-lib/sparc-sunos4/2.x.y/
include) is before /usr/local/include,  you must remove from the target
specific include directory all the headers that you already have fixed in
/usr/local/include.  Maybe the GCC fixinclude script should consider
using the headers in /usr/local/include before the one in /usr/include.

Minh Tran-Le.
-------
Technical Details
Message-ID: <9307171626.AA05105@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!news.dfn.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!intellicorp.com!TRANLE
References: <CA91Fy.17G@hdl.ie>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,8f2884ab3c08923
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-17 09:33:32 PST
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!news.dfn.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!intellicorp.com!TRANLE
From: TRANLE@intellicorp.com (Minh Tran-Le)
Newsgroups: gnu.gcc.help
Subject: Re: ANSI headers for SunOS?
Date: 17 Jul 1993 12:28:40 -0400
Organization: GNUs Not Usenet
Lines: 24
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9307171626.AA05105@life.ai.mit.edu>
References: <CA91Fy.17G@hdl.ie>
Reply-To: tranle@intellicorp.com