AW: compiling fortran using static variables
Jupp Tscheak
jupp_tscheak@gmx.de
Thu Jan 13 23:13:00 GMT 2005
Hi Bud,
your hint to compile with -fno-automatic worked...
Thanks
Jupp Tscheak
-----Ursprüngliche Nachricht-----
Von: Bud Davis [mailto:bdavis9659@comcast.net]
Gesendet: Sonntag, 9. Januar 2005 00:33
An: jupp_tscheak@gmx.de
Cc: gcc-help@gcc.gnu.org
Betreff: Re: compiling fortran using static variables
the compiler driver used to link your executable (g++) has nothing to do
with fortran SAVE.
make sure that all you fortran is compiled with
g77 -fno-automatic
or alternatively, properly use the SAVE statement in you fortran routines.
if you still have problems, please post a small example and we will figure
this out :)
HTH,
bud davis
More information about the Gcc-help
mailing list