Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jim Paradis <paradis@amt.tay1.dec.com>
Subject: Re: f2c problems
Date: Wed, 10 Apr 1996 18:34:00 -0500 (EDT)	[thread overview]
Message-ID: <9604102234.AA01798@ives.amt.tay1.dec.com> (raw)
In-Reply-To: <317D5E511D@pcb001.pcb.com>

I've been playing around with Fortran myself... here's a hint
for both you and Erik:

Get the f2c sources, add "-ieee" to the CFLAGS, and rebuild.

You should also use the "-ieee" flag on any resulting C files
that use floating-point (which you're likely to have because
this *is* Fortran).

The -ieee flag causes gcc to generate code that can recover from
imprecise floating-point exceptions.  The code to handle this has
been in the kernel for some time now, but you still have to ask
for the compile-time support.

-- 
Jim Paradis (paradis@amt.tay1.dec.com)        "It's not procrastination, 
Digital Equipment Corporation		       it's my new Just-In-Time 
(508)952-4047				       Workload Management System!"
http://www.tiac.net/users/jrp/index.html

      parent reply	other threads:[~1996-04-10 23:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-10 20:57 f2c problems Jim Robinson
1996-04-10 20:32 ` Erik Troan
1996-04-10 23:34 ` Jim Paradis [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox