This is the mail archive of the gcc-help@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]
Other format: [Raw text]

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




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