This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
AW: compiling fortran using static variables
- From: "Jupp Tscheak" <jupp_tscheak at gmx dot de>
- To: "'Bud Davis'" <bdavis9659 at comcast dot net>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 14 Jan 2005 00:13:21 +0100
- Subject: AW: compiling fortran using static variables
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