Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!apple!agate!ucbvax!aero36.larc.nasa.gov!blbates From: blbates@aero36.larc.nasa.gov (Brent Bates ViGYAN AAD/TAB) Newsgroups: comp.sys.sgi Subject: Re: f77 and -static option Message-ID: <9102251256.AA06226@aero36.larc.nasa.gov> Date: 25 Feb 91 12:56:40 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 16 I don't use -static all the time, just when I need it. If I want to return to a routine and have the values of variables from previous calls remain the same between calls, I use -static. I have found, most of the time painfully, that when porting sources from one machine to another that sometimes the original machine had used static variable as the default and when I ported to a machine that didn't have this it gave me problems. I don't consider having to use -static as "buggy". It is just a matter of what you are trying to do and how you wish to do it. Brent L. Bates NASA-Langley Research Center M.S. 361 Hampton, Virginia 23665-5225 (804) 864-2854 E-mail: blbates@aero36.larc.nasa.gov or blbates@aero8.larc.nasa.gov Brought to you by Super Global Mega Corp .com