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