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

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!UB.com!pacbell.com!sgiblab!munnari.oz.au!bunyip.cc.uq.oz.au!citec!sgccseh
  3. From: sgccseh@citec.oz.au (Steve Hocking)
  4. Subject: Re: [386BSD] gcc2 and -fPIC
  5. Organization: CITEC
  6. Date: Wed, 27 Jan 1993 03:31:41 GMT
  7. Message-ID: <1993Jan27.033141.3135@citec.oz.au>
  8. References: <CGD.93Jan25211237@eden.CS.Berkeley.EDU>
  9. Lines: 23
  10.  
  11. cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou) writes:
  12.  
  13. >anybody gotten code compiled w/gcc2's -fPIC to assemble properly
  14. >(or "at all") under 386bsd?
  15.  
  16. >if so, could you tell me what i'm doing wrong?
  17.  
  18. >gcc -c -fPIC -O foo.c
  19. >just won't do it for me... 8-)
  20.  
  21.     Gas isnt up to handling some of the special requirements of PIC code
  22. (something to do with certain psuedo ops I think) You'll need to hack GAS as
  23. well if you're trying to get shared libs going (as well as ld).
  24.  
  25. >Chris G. Demetriou                                    cgd@cs.berkeley.edu
  26.  
  27. >"Sometimes it is better to have twenty million instructions by
  28. >        Friday than twenty million instructions per second." -- Wes Clark
  29. -- 
  30. -----------------------------------------------------------------------------
  31.           "Toddlers are the stormtroopers of the Lord of Entropy"
  32.  
  33. Stephen Hocking                                    sgccseh@citecuc.citec.oz.au
  34.