home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!europa.eng.gtefsd.com!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!uwm.edu!linac!att!cbnewsk!cbnewsj!dwex
- From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
- Subject: Re: [386BSD] gcc2 and -fPIC
- Organization: AT&T
- Date: Wed, 27 Jan 1993 19:36:44 GMT
- Message-ID: <1993Jan27.193644.16032@cbnewsj.cb.att.com>
- References: <1993Jan27.002600.21136@jpl-devvax.jpl.nasa.gov> <1993Jan27.044627.2756@serval.net.wsu.edu> <1993Jan27.172321.14231@jpl-devvax.jpl.nasa.gov>
- Lines: 32
-
- In article <1993Jan27.172321.14231@jpl-devvax.jpl.nasa.gov> kaleb@jpl-devvax.jpl.nasa.gov (Kaleb Keithley) writes:
- >
- > >|> Gcc doesn't grok PIC on any 386 machine, period, e.g. Sun 386i -- at
- > >
- > >You haven't try -fPIC -O on libg++-2.3 yet.
- > >
- > >|> least that's what I was told when I asked gnu.gcc.help. There are patches
- > >|> out there to make gcc generate PIC on 386.
- > >
- > >Those patches are for psudo PIC for SVR3. I don't care SVR3. I want ELF.
- >
- > Actually the patches I'm referring to are for SunOS on Sun386i, which
- > is actually COFF. At the risk of repeating myself, gcc itself doesn't
- > yet support PIC on any 386, irrespective of anything else.
- >
-
- Hmm. That's odd. I've been building X11R5 shared libraries on Microport
- SVR4 on an i486 box for about a year, using 'gcc -fPIC'. Works very well,
- thank you. GCC DOES support PIC on a 386, if your OS supports it.
-
- >
- > --
- >
- > Kaleb Keithley kaleb@jpl-devvax.jpl.nasa.gov
- >
-
- --
- David Wexelblat <dwex@mtgzfs3.att.com> (908) 957-5871
- AT&T Bell Laboratories, 200 Laurel Ave - 3F-428, Middletown, NJ 07748
-
- "The meaning of life? That's simple. Try to be happy, try not to hurt
- other people, and hope to fall in love." -- Mallory Keaton
-