Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jim Paradis <paradis@amt.tay1.dec.com>
Subject: Re: Usability of AXP-Linux machine
Date: Mon, 15 Apr 1996 23:00:39 -0500 (EDT)	[thread overview]
Message-ID: <9604160300.AA11914@ives.amt.tay1.dec.com> (raw)
In-Reply-To: <9604150922.AA20142@nova.tat.physik.uni-tuebingen.de>

> *IS* the latest f2c binary from Red Hat (RPMS/f2c-19960205-3.axp.rpm) 
> built that way?  I just ftp'ed it and want to try this evening.

I don't think so... but rebuilding it from source isn't rocket science
(It's MUCH smaller than GCC!)

> I also read that even gcc and/or libc have to be built with "-mieee" too.
> is this correct? and if yes, what about the latest RPMs ? Do I have to rebuild
> them in order to use f2c ?

No, you don't have to do this.

The idea is that any code that *might* generate floating-point exceptions
must be compiled -mieee; otherwise, the kernel exception-handling code
can't deal with it (read the section in the Alpha Architecture Reference
Manual on floating-point exceptions for the gory details).

gcc won't generate fp exceptions, so you don't have to rebuild it.

Most library functions (except maybe what's in libm) won't generate fp
exceptions either, so that's not so much of a problem.

FORTRAN code in general, and the stuff put out by f2c in particular, may
generate FP exceptions, so it's a good idea to use -mieee with it.  Of
course, if your FORTRAN code is all-integer, you needn't worry about 
FP traps.

I'm hip-deep into the f2c and -mieee issue right now in fact... I still
seem to be getting some problems (SIGFPE if I don't use -mieee, seg-fault
if I do), and I'm tracking them down.

-- 
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-16  4:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-13  8:26 Usability of AXP-Linux machine G. Hugh Song
1996-04-15  8:06 ` Matti E Aarnio
1996-04-15  9:22   ` Harald Koenig
1996-04-15 11:27     ` Matti E Aarnio
1996-04-15 12:03       ` Harald Koenig
1996-04-15 16:08         ` yxc02740
1996-04-15 15:00       ` Richard Henderson
1996-04-15 17:34     ` Erik Troan
1996-04-16  4:00     ` Jim Paradis [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-04-15 10:18 Ka'plaagh 15-Apr-1996 1116 +0100
1996-04-15 19:10 Przemek Klosowski
1996-04-15 19:36 David Bernstein
1996-04-16  8:52 Ka'plaagh 16-Apr-1996 0948 +0100
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