This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compiling fortran using static variables
- From: Bud Davis <bdavis9659 at comcast dot net>
- To: jupp_tscheak at gmx dot de
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 08 Jan 2005 17:33:15 -0600
- Subject: 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