Article View: gnu.gcc.help
Article #42304PIC and -shared questions
From: Mickey Mestel
Date: Fri, 22 Dec 1995 00:00
Date: Fri, 22 Dec 1995 00:00
21 lines
1366 bytes
1366 bytes
i have a situation where we are compiling with the -shared option as we are building dynamic libraries, but also need the -fPIC option for purify, (at least it seems so, i'm trying to find a way around this). can anyone give me a better description of what these options do exactly? i've been able to glean a bit from the man pages, but what does the -shared option really do? and what exactly is position independent code? i assumed from what little i know of it, that this is what dynamic code is all about. any thoughts/comments/revelations? mickm -- _____________________________________________________________________________ Mickey Mestel mickm@netcom.com -on a beach in thailand to a beautiful, stoned, norwegian woman: "..yeah, it's just another foreign country without ice." -----------------------------------------------------------------------------
Technical Details
Message-ID:
<mickmDJzBLH.I0r@netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,c1234ff420bb0791,start X-Google-Attributes: gid11318c,public From: mickm@netcom.com (Mickey Mestel) Subject: PIC and -shared questions Date: 1995/12/22 Message-ID: <mickmDJzBLH.I0r@netcom.com> X-Deja-AN: 122600021 sender: mickm@netcom17.netcom.com organization: NETCOM On-line Communication Services (408 261-4700 guest) newsgroups: gnu.gcc.help