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]

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




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