From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: PIC (Position Independent Code) Date: Fri, 01 Aug 1997 11:32:17 +0200 Organization: TU Chemnitz-Zwickau Lines: 20 Message-ID: <33E1AD21.3B4EB5FC@Mathematik.TU-Chemnitz.DE> References: <5ro18v$29q AT nntp DOT hut DOT fi> NNTP-Posting-Host: prokyon.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Sasu Antero Liuhanen wrote: > > I'd like to generate position independent code (to be able to share libraries > etc.). I tried this with -fpic (and my old i386). GCC, however, complains You have tried this on DJGPP??? OK, I have never tried this, so I cannot say what errors exactly you will get, but I can say definitely that you CANNOT use shared libs on DJGPP (at least not with the current available tools). Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************