Path: utzoo!utgpu!jarvis.csri.toronto.edu!daemon Newsgroups: gnu.gcc From: ghfeil@white.toronto.edu (Georg Feil) Subject: gcc and position-independent code Message-ID: <89Nov9.221118est.30802@snow.white.toronto.edu> Sender: Organization: University of Toronto, CSRI Distribution: na Date: 10 Nov 89 03:12:08 GMT I have built a cross-compiling version of gcc 1.36 that compiles code for a 'generic' 68020 system. The compiler runs on a Sun3 host (OS 4.0.1). Is it possible to make gcc produce position-independent code? This is possible on the Sun C compiler, via the -pic option, but gcc seems to have no equivalent option. Thanks, Georg. -- Georg Feil "The roof is leaking ghfeil@white.toronto.edu and the wind is howling" ...if that doesn't work try one of: {uunet,pyramid,watmath,utzoo}!utcsri!white!ghfeil ghfeil%white.toronto.edu@relay.cs.net (ARPA)