🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Carsten Rathsack Mon, 04 Jan 1993 09:39
How to get gcc 2.3.3 includes for SunOS 4.1.1(3)?
#797
Author: Carsten Rathsack
Date: Mon, 04 Jan 1993 09:39
24 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads