home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / sysv386 / 17619 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  1.6 KB

  1. Xref: sparky comp.unix.sysv386:17619 comp.unix.pc-clone.32bit:891
  2. Newsgroups: comp.unix.sysv386,comp.unix.pc-clone.32bit
  3. Path: sparky!uunet!wupost!micro-heart-of-gold.mit.edu!uw-beaver!fluke!gtisqr!stu
  4. From: stu@mav.com (Stu Donaldson)
  5. Subject: re: gcc 2.3.2 (i386-isc) and floating point
  6. Message-ID: <1992Dec24.080002.16684@mav.com>
  7. Sender: stu@mav.com
  8. Reply-To: stu@mav.com
  9. Organization: Maverick International Inc.
  10. Date: Thu, 24 Dec 92 08:00:02 GMT
  11. Lines: 26
  12.  
  13.   I had posted a problem with 2.3.2, configuring as i386-isc,
  14.   and getting a floating point error when compiling.  Here is what
  15.   I have found thus far.
  16.  
  17.       config/unx386.h defines TARGET_DEFAULT to 0301 which
  18.     means that code is automatically generated for a 80387.
  19.     This doesn't work in the case of a 80386 without a co-processor
  20.     which is what 4 out of 5 of my workstations are using.
  21.     It seems that assuming an 80387 is really not appropriate.
  22.     Probably allowing the 387 to be disabled by default through
  23.     one of the configure options such as --nfp would be a good idea.
  24.  
  25.     Where is the best place to fix this?  I changed the isc.h
  26.     file to undef TARGET_DEFAULT, and redefine it to 0300, but
  27.     that means I am now different than the standard 2.3.2
  28.     distribution.  I hate it when I have to grow apart from the
  29.     original source.
  30.  
  31.   There still apperas to be an error in that xgcc reported the
  32.   error as a signal 6, however the fpu signal that was actually
  33.   received was a signal 8.
  34.  
  35.               -- Stu --
  36. -----------------------------------------------------------------------
  37. Stu Donaldson                   "Can't you understand what I'm saying?" 
  38. stu@mav.com                     "What happened?  Did you Fail Telepathy?"
  39.