🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1386

Re: gcc & M68881 fp processor

#1386
From: ganymede!tmb
Date: Tue, 25 Oct 1988 00:22
31 lines
1463 bytes
	gcc has a bug in that it compiles assuming that a M68881 floating
	point coprocessor is available, when I compile it on cream-of-wheat.
	I cannot run it on kaboom (a 3/50).  Additionally, I cannot run gcc
	itself on a 3/50 because it's compiled assuming a M68881 fp
	coprocessor!
	
	The default should be the equivalent of the Sun cc -fsoft switch.
	
	or a switch sould be provided to get -fsoft behavior and a manual
	page should be made available to document it.

No bug. This is quite well documented in "Internals of GNU CC" (which
is the one and only user's manual):

   These are the '-m' options defined in the 68000 machine description:
   
   ...
   
   '-m68881'	Generate output containing 68881 instructions for floating
   		point. This is the default if you use the unmodified sources.
   
   '-msoft-float'	Generate output containing library calls for floating point.
   
   ...
   
   
The manual page doesn't list most of the switches.

If there is a bug, it's with the Sun kernel. It should provide co-processor
emulation.
Technical Details
Message-ID: <8810250022.AA22392@rice-chex.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!ganymede!tmb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!ganymede!tmb
From: ganymede!tmb@WHEATIES.AI.MIT.EDU
Newsgroups: gnu.utils.bug
Subject: Re:  gcc & M68881 fp processor
Message-ID: <8810250022.AA22392@rice-chex.ai.mit.edu>
Date: 25 Oct 88 00:22:14 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 31