Path: utzoo!utgpu!water!watmath!uunet!bu-cs!bloom-beacon!tut.cis.ohio-state.edu!allosaur.cis.ohio-state.edu!bob
From: bob@allosaur.cis.ohio-state.edu (Bob Sutterfield)
Newsgroups: gnu.gcc
Subject: -mswitch - any plans?
Message-ID: <22976@tut.cis.ohio-state.edu>
Date: 29 Sep 88 19:52:20 GMT
Sender: news@tut.cis.ohio-state.edu
Distribution: gnu
Organization: The Ohio State University Dept of Computer & Information Science
Lines: 18

Are there any thoughts toward adding floating point support to gcc
that would be switchable at run time between -m68881 and -msoft-float?
It would eliminate some compile-time gymnastics.  Here's an excerpt
from Sun's cc(1), describing a similar option:

-fswitch
	Run-time-switched floating-point calls.   The compiled  object
	code is linked at runtime to routines that  support one of the
	above types of floating  point code.  [-f68881,  -ffpa, -fsky,
	-fsoft] This was the  default in previous releases.   Only for
	use with programs that are  floating-point intensive, and must
	be portable to  machines with various  floating-point hardware
	options.
-=-
Zippy sez,								--Bob
Our father who art in heaven..  I sincerely pray that SOMEBODY
 at this table will PAY for my SHREDDED WHAT and ENGLISH MUFFIN..
 and also leave a GENEROUS TIP...