* Re: f2c problems
1996-04-10 20:57 f2c problems Jim Robinson
@ 1996-04-10 20:32 ` Erik Troan
1996-04-10 23:34 ` Jim Paradis
1 sibling, 0 replies; 3+ messages in thread
From: Erik Troan @ 1996-04-10 20:32 UTC (permalink / raw)
On Wed, 10 Apr 1996, Jim Robinson wrote:
> I just tried to compile the scilab-2.2 math package and I get an
> error when it uses the f2c compiler. the error that I am getting is:
> Compiler error line 131 of dsort.f: Floating execption during
> constant eveluation: cannot recover!
Get the most recent f2c from:
ftp.redhat.com:/pub/devel/axp/RedHat/RPMS
and see if it works any better. Please let me know if it doesn't.
Erik
-------------------------------------------------------------------------------
Always hoped that I'd be an apostle. Knew that I would make it if I tried.
Then when we retire we can write the gospels so they'll all talk about
us when we die. - "The Last Supper" from Jesus Christ Superstar
| Erik Troan = http://sunsite.unc.edu/ewt/ = ewt@sunsite.unc.edu |
^ permalink raw reply [flat|nested] 3+ messages in thread
* f2c problems
@ 1996-04-10 20:57 Jim Robinson
1996-04-10 20:32 ` Erik Troan
1996-04-10 23:34 ` Jim Paradis
0 siblings, 2 replies; 3+ messages in thread
From: Jim Robinson @ 1996-04-10 20:57 UTC (permalink / raw)
Hi,
I just tried to compile the scilab-2.2 math package and I get an
error when it uses the f2c compiler. the error that I am getting is:
Compiler error line 131 of dsort.f: Floating execption during
constant eveluation: cannot recover!
I get this on a lot of the .f files or the f2c will just core and not
give me any messages. I know this package compiles on the 80x86
version of linux. Any suggestion!?
James Robinson.
================================
James Robinson
Automated Test Engineering
PCB Piezotronics Inc.
(716)-684-0002 X332
================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: f2c problems
1996-04-10 20:57 f2c problems Jim Robinson
1996-04-10 20:32 ` Erik Troan
@ 1996-04-10 23:34 ` Jim Paradis
1 sibling, 0 replies; 3+ messages in thread
From: Jim Paradis @ 1996-04-10 23:34 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-04-10 23:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-10 20:57 f2c problems Jim Robinson
1996-04-10 20:32 ` Erik Troan
1996-04-10 23:34 ` Jim Paradis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox