🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52396

installing gcc in a Sun ANSI C environment

#52396
From: Jeffrey C. Gealow
Date: Sat, 17 Oct 1992 13:50
34 lines
1970 bytes
Newsgroups: gnu.gcc.help
Subject: installing gcc in a Sun ANSI C environment
Summary: 
Followup-To: 
Distribution: 
Organization: MIT Microsystems Technology Laboratories
Keywords: 

I would like to install gcc 2.2.2 on a system running SunOS 4.1.3 with 
Sun ANSI C.  My intention is to use gcc with the Sun ANSI C header 
and library files.

The Sun ANSI C compiler (acc) looks for header files in this order:
	1. /usr/lang/SC1.0/ansi_include
	2. /usr/lang/SC1.0/include
	3. /usr/include

The Sun ANSI C compiler (acc) looks for library files in this order:
	1. /usr/lang/SC1.0/cg87
	2. /usr/lang/SC1.0
	3. /usr/lang/SC1.0/ansi_lib
	4. /usr/lib

So think I need to change the gcc configuration to look for header files 
and library files in the same orders.  I would also like to install 
gcc as gacc or some other name so it can coexist with a previously 
installed gcc which uses the standard SunOS header and library files.

I would very much appreciate guidance.  I am not familiar with the 
inner working of gcc--the relevant info section is somewhat 
confusing to me.

Jeff Gealow
jgealow@mtl.mit.edu
Technical Details
Message-ID: <1992Oct17.135042.27632@athena.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!jgealow

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,aaac07f77a0b6d2a,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 102b08,aaac07f77a0b6d2a,start
X-Google-Attributes: gid102b08,public
X-Google-Thread: 1070f0,aaac07f77a0b6d2a,start
X-Google-Attributes: gid1070f0,public
X-Google-ArrivalTime: 1992-10-16 17:23:46 PST
Newsgroups: gnu.gcc.help,comp.sys.sun.admin,comp.sys.sun.apps
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!jgealow
From: jgealow@mtl.mit.edu (Jeffrey C. Gealow)
Subject: installing gcc in a Sun ANSI C environment
Message-ID: <1992Oct17.135042.27632@athena.mit.edu>
Sender: news@athena.mit.edu (News system)
Nntp-Posting-Host: mtl.mit.edu
Organization: MIT Microsystems Technology Laboratories
Date: Sat, 17 Oct 1992 13:50:42 GMT
Lines: 34