home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 3141 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!cs.utexas.edu!torn!watserv1!watdragon.uwaterloo.ca!kcwellsc
  3. From: kcwellsc@watdragon.uwaterloo.ca (Ken Wellsch)
  4. Subject: Re: 386BSD: Anyone using gcc-2.x on 0.1?
  5. Message-ID: <Bs64zs.8Dr@watdragon.uwaterloo.ca>
  6. Organization: University of Waterloo
  7. References: <1992Jul29.155631.21213@thyme.jpl.nasa.gov>
  8. Date: Wed, 29 Jul 1992 20:59:51 GMT
  9. Lines: 19
  10.  
  11. > I'm highly interested in moving to the latest version of gcc-2.x,
  12. > (currently 2.2.2) because:
  13. > b) Its ability to emit PIC (Position Independent Code) seems to be
  14. >   a pre-requisite for shared libraries.
  15.  
  16. Don't forget to upgrade "gas" (the assembler) to handle PIC (still a "gas"
  17. ToDo item I think).
  18.  
  19. > Has anyone else "bootstrapped" up to 2.2.2 yet?  Has anyone who
  20. > has, rebuilt the kernel with it yet?  Does anyone have any reasons
  21. > why this might not be a good idea?
  22.  
  23. I tried it a few days ago.  I used "i386-bsd" as the configure type. I
  24. found I had to add "-D_ANSI_H" to fix a gvarargs.h problem but I don't
  25. know that this is the right way to handle it.  It got through to the
  26. libgcc1.a stuff (even though I think you need a "stock" compiler for these
  27. functions - not sure how to fix this part) but things bombed for me when
  28. it tried to use the newly built gcc to compile libgcc2.a. I hope you have
  29. better luck and post what is needed to successfully build a copy.
  30.