home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 2757 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.8 KB

  1. Path: sparky!uunet!mcsun!uknet!axion!micromuse!hilly!peter
  2. From: peter@micromuse.co.uk (Peter Galbavy)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Building GCC-2.2.2 on 386BSD (was Re: Jolitz 386BSD-0.1 -- floating point perform)
  5. Message-ID: <peter.711964807@hilly>
  6. Date: 24 Jul 92 08:00:07 GMT
  7. References: <l6qc51INN1gu@neuro.usc.edu> <1992Jul22.152854.27730@nrao.edu> <1992Jul23.010341.22292@klaava.Helsinki.FI>
  8. Organization: MicroMuse Limited, London, England.
  9. Lines: 68
  10.  
  11. torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) writes:
  12.  
  13. >In article <1992Jul22.152854.27730@nrao.edu> cflatter@nrao.edu writes:
  14. >> [ deleted ]  Is anyone working on porting gcc 2.x to 386BSD? Come to
  15. >>think of it, is there anything that needs to be done to do this (wouldn't
  16. >>the BSD/386 configuration work)?
  17.  
  18. >One thing that migth be a problem with porting gcc-2.2.2 to 386BSD is
  19. >that gcc-2.2.2 has added the 'fsqrt' command to the list of floating
  20. >point instructions that gcc can create code for - and I don't know if
  21. >the 386bsd math emulator emulates that particular command yet.  I've
  22. >already written the code (it's in linux), but it wasn't available back
  23. >when people ported the emulator to 386bsd. 
  24.  
  25. I haven't got that far :-(
  26.  
  27. I have been trying to get gcc-2.2.2 going, but my disk is so slooooow...
  28. The thing I have noticed is the the files "gvarargs.h" needs a small hack:
  29. change the ifdefs against "_ANSI_H" to test for "_ANSI_H_" notice the last
  30. underscore, since this is what is defined in <machine/ansi.h>.
  31.  
  32. There was still a problem with compiling "libgcc2.a" (something about
  33. illegal characters in lines 41 and 43 (or 47 ?) sigh, I can't remember.
  34.  
  35. I have x-posted this to gnu.gcc.help for informational purposes (and
  36. maybe help from you guys :-).
  37. --
  38. Peter Galbavy
  39. Tech Support, Micromuse Ltd
  40. Phone: +44 71 352 7774        E-Mail: P.Galbavy@micromuse.co.uk
  41.