g77 options

P.Kurz pkurz@iff295.iff.kfa-juelich.de
Mon Jul 6 14:48:00 GMT 1998


Hi,

last week I have install the egcs compiler on my linux system (installation
worked nicely). I'm working on my PHD (physics) with a huge (and terrible)
electronic structure program, which is written in fortran77. However, I
couldn't compile the program with g77, since it's written with real variables,
but it needs double precision (it has been written for Cray computers, where
real is 8 bytes). So here's my question:
Is there an option for the egcs g77 compiler, which is equivalent to -r8 of f2c
(i.e. promotes real to double precision and complex to double complex)?
I couldn't find any information in the documetation about this.

Best regards from Germany

Philipp Kurz

-- 
--------------------------------------------------------------------------------
Philipp Kurz                             Phone: (49) 2461-61-4677
Institut fuer Festkoerperforschung       Fax:   (49) 2461-61-2620
Institut Elektronische Eigenschaften
Forschungszentrum Juelich GmbH
D-52425 Juelich
--------------------------------------------------------------------------------



More information about the Gcc mailing list