This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Increasing Precision/Range in g77


Lisette dePillis wrote:

However, I'd like to get the code working on a Linux machine using
public-domain software.  Thus my
question/request: is there any chance that in the near future an -r8
switch will be added as an option
on the g77 compiler?  I would be grateful if that were the case.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Unfortunately, this is pretty hard.  I myself looked into it in 
the first half of '96, and the problem basically comes down to
the Fortran Frontend assuming in too many places that "default real"
(i.e. what you get if you declare a REAL variable) is the same
type as a 32-bit real (in gcc-speak: an SFmode variable).

Your best bet is to use the combination of f2c -r8 and gcc for
the code you're interested in.  f2c is a free Fortran-to-C compiler
available at http://www.netlib.org.

Hope this helps,
Toon Moene.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]