🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51297

Using acc headers with gcc ( gcc 2.4.3.1 SPARCstation 10 SunOS 4.1.3 )

#51297
From: Randall Gee
Date: Fri, 11 Jun 1993 21:04
21 lines
1903 bytes
I'm trying to get ANSI-style header files to use with gcc 2.4.3.1 on Sun
SPARCstation 10s running SunOS 4.1.3.  Running fixincludes on the standard
header files isn't quite sufficient, since the default header files on these
machines were written for use with the bundled C compiler and does not use
ANSI-style prototypes and doesn't even bother to declare some functions which
are presumably declared implicitly by the program (notably printf()).  I do
have a copy of Sun's ANSI C compiler version 1.0 which comes with some
ANSI C header files.  Could I just use fixincludes on these files as well?
Might I run into any incompatabilities with this later?  (This concern was
brought about primarily by the math libraries.  I noticed that acc carries its
own math libraries around, and I have wondering if using acc's math.h file with
the default math library [or whatever it is that gcc uses] might cause problems
down the road.  However, I would certainly like to know if some other
incompatabilities might arise.)

You may reply to this on this newsgroup, if you wish, but I would like
repsonses sent through E-Mail.  I will summarize the mail I get on this
subject should there be suffiecient interest.  Any help will be appreciated.

-- Randall M! Gee
(rmgee@soda.berkeley.edu)
Technical Details
Message-ID: <1vas0g$bmn@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!soda.berkeley.edu!rmgee

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4b6058bc5f4f1c76,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-11 14:05:14 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!soda.berkeley.edu!rmgee
From: rmgee@soda.berkeley.edu (Randall Gee)
Newsgroups: gnu.gcc.help
Subject: Using acc headers with gcc ( gcc 2.4.3.1 SPARCstation 10 SunOS 4.1.3 )
Date: 11 Jun 1993 21:04:16 GMT
Organization: U.C. Berkeley, CS Undergraduate Association
Lines: 21
Message-ID: <1vas0g$bmn@agate.berkeley.edu>
NNTP-Posting-Host: soda.berkeley.edu