home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / bsd / 11858 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.7 KB  |  43 lines

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