🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #636

Sun shared libraries and ANSI C

#636
From: Mark Rosenthal
Date: Wed, 10 Apr 1991 20:07
20 lines
1263 bytes
I apologize if you see this multiple times.  I have reposted it because it
looks like the article has not been getting out.  No flames, please.

I am dealing with a body of code written in ANSI C and I need to generate
an executable which will use Sun shared libraries.

The tools I have available to me are the Sun C compiler, loader, etc. and the
GNU C compiler, loader, etc.

So far, the code has been compiled with the GNU C compiler.
As far as I know, Sun's cc doesn't handle ANSI C.  So what are my options?
Does the GNU loader handle Sun shared libraries?  If not, can I compile
with gcc and link with Sun's ld?  Does gcc support Sun's idea of PIC code?

Any help would be appreciated.  If you have any answers wrt gcc, please specify
which version you are referring to.  Any suggestions?

	mbr%metasoft@bbn.com
-- 
	mbr%metasoft@bbn.com
Technical Details
Message-ID: <2119@metasoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bbn.com!metasoft!mbr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bbn.com!metasoft!mbr
From: mbr@metasoft.UUCP (Mark Rosenthal)
Newsgroups: gnu.gcc.help,comp.lang.c,comp.unix.wizards
Subject: Sun shared libraries and ANSI C
Keywords: ANSI C,shared libraries,GNU C,Sun
Message-ID: <2119@metasoft.UUCP>
Date: 10 Apr 91 20:07:10 GMT
Organization: Meta Software Corporation, Cambridge MA
Lines: 20