Article View: gnu.gcc.help
Article #797How to get gcc 2.3.3 includes for SunOS 4.1.1(3)?
From: Carsten Rathsack
Date: Mon, 04 Jan 1993 09:39
Date: Mon, 04 Jan 1993 09:39
24 lines
1548 bytes
1548 bytes
I like to install gcc version 2.3.3 on our Sun Sparcs running SunOS 4.1.1(3). Following the install instructions the compilation of the gcc is easy. The only problem is that our Suns have non ANSI includes located in /usr/include/ which are be used for fix-includes. After all I get a working gcc that produces trillians of warnings if I try to use the warn levels -Wall due to missing prototypes for library functions. Has anybody any ideas how I can get a workaround for this problem? I tried copying the ANSI includes from acc (the Sun ANSI compiler) but there seems to be some incompabilities with that files (prototypes for fdopen/popen/... are only included with -D__STDC=0, functions have two declarations with different types ...) Are there any solutions that can easyly be repeated for all new versions of gcc? Any help is greatly appreciated. Carsten -- Howe's Law: Everyone has a scheme that will not work.
Technical Details
Message-ID:
<1i90jkINNd9d@ramses.informatik.uni-kiel.dbp.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!rpi!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!uniol!majestix.informatik.uni-kiel.dbp.de!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!rpi!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!uniol!majestix.informatik.uni-kiel.dbp.de!news From: car@informatik.uni-kiel.dbp.de (Carsten Rathsack) Newsgroups: gnu.gcc.help Subject: How to get gcc 2.3.3 includes for SunOS 4.1.1(3)? Date: 4 Jan 1993 10:39:00 +0100 Organization: Department of Computer Science, University of Kiel, Germany Lines: 24 Message-ID: <1i90jkINNd9d@ramses.informatik.uni-kiel.dbp.de> NNTP-Posting-Host: ramses.informatik.uni-kiel.dbp.de Keywords: fix-includes, Sun, SunOS, prototypes