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

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!ames!haven.umd.edu!darwin.sura.net!spool.mu.edu!clark!serval!hlu
  3. From: hlu@eecs.wsu.edu (H.J. Lu)
  4. Subject: Re: [386BSD] gcc2 and -fPIC
  5. Message-ID: <1993Jan27.185636.8873@serval.net.wsu.edu>
  6. Sender: news@serval.net.wsu.edu (USENET News System)
  7. Organization: School of EECS, Washington State University
  8. References: <1993Jan26.210430.27806@serval.net.wsu.edu> <1993Jan27.002600.21136@jpl-devvax.jpl.nasa.gov> <1993Jan27.044627.2756@serval.net.wsu.edu> <1993Jan27.172321.14231@jpl-devvax.jpl.nasa.gov>
  9. Date: Wed, 27 Jan 93 18:56:36 GMT
  10. Lines: 37
  11.  
  12. In article <1993Jan27.172321.14231@jpl-devvax.jpl.nasa.gov>, kaleb@jpl-devvax.jpl.nasa.gov (Kaleb Keithley) writes:
  13.  
  14. [...]
  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. |> 
  21. |> Actually the patches I'm referring to are for SunOS on Sun386i, which
  22.  
  23. They seem to be the same thing. SVR3 uses COFF.
  24.  
  25. |> is actually COFF.  At the risk of repeating myself, gcc itself doesn't
  26. |> yet support PIC on any 386, irrespective of anything else.
  27. |> 
  28.  
  29.  
  30. I believe gcc supports PIC for SVR4. I didn't say there was no bug in PIC
  31. support.
  32.  
  33. |> >That is precisely why I want PIC. I'like to see PIC/ELF be used in 386bsd
  34. |> >and Linux.
  35. |> 
  36. |> I think you're asking for an awful lot.  Linus Torvalds, Richard Stallman,
  37. |> and Bill and Lynne Jolitz already have a lot of momentum behind a.out in
  38. |> their respective operating systems.  Even if the changes were isolated to 
  39. |> only the assembler and linker, I haven't seen any evidence that any of them 
  40. |> intend to deviate from that direction.
  41. |> 
  42.  
  43. I know that. After having worked on the shared library under Linux, I am
  44. convinced that ELF is the much better solution for dynamic linking. I have
  45. been pushing it very hard. I will do whatever I can to help it.
  46.  
  47.  
  48. H.J.
  49.