Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: metasoft!mbr@uunet.uu.net (Mark Rosenthal) Newsgroups: comp.sys.sun Subject: Sun shared libraries and ANSI C Keywords: Miscellaneous Message-ID: <2458@brchh104.bnr.ca> Date: 17 Apr 91 01:00:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu X-Original-Date: 9 Apr 91 23:03:29 GMT X-Sun-Spots-Digest: Volume 10, Issue 81, message 15 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu I am dealing with a body of code written in ANSI C and I need to set this up to use 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. Any suggestions? mbr@metasoft