This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Possible Enhancement - Forcing double prec. on Intel FPUs
- To: Ralf Loesche <loesche at math dot tu-dresden dot de>, rth at cygnus dot com
- Subject: Re: Possible Enhancement - Forcing double prec. on Intel FPUs
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 16 Jun 1998 09:40:06 -0700
- Cc: egcs at cygnus dot com
- References: <19980616081008.B347@dot.cygnus.com> <199806161630.SAA13307@NWRW10.math.tu-dresden.de>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Tue, Jun 16, 1998 at 06:30:24PM +0200, Ralf Loesche wrote:
> This is exactly what I do from within Matlab.
[...]
> When you have some source code to compile that suffers from the
> extended prec. it would be nice to tell the compiler to add the
> appropiate call to __setfpucw() to the startup code.
> Thereby removing the need to modify the sources.
What you apparently missed is that my solution does get setfpucw
called from the startup code, and so doesn't require modiying
sources. You just add -lieee-dbl to the link line.
r~