home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / fortran / 2778 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.9 KB

  1. Path: sparky!uunet!gatech!mailer.cc.fsu.edu!sun13!ds8.scri.fsu.edu!jac
  2. From: jac@ds8.scri.fsu.edu (Jim Carr)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Re: Variable seperator for F77 code.
  5. Message-ID: <9899@sun13.scri.fsu.edu>
  6. Date: 21 Jul 92 14:09:36 GMT
  7. References: <20JUL92.14460039@wl.aecl.ca> <1992Jul20.134352.1@slacvx.slac.stanford.edu> <1992Jul20.210437.9800@ctr.columbia.edu>
  8. Sender: news@sun13.scri.fsu.edu
  9. Reply-To: jac@ds8.scri.fsu.edu (Jim Carr)
  10. Organization: SCRI, Florida State University
  11. Lines: 27
  12.  
  13. In article <1992Jul20.210437.9800@ctr.columbia.edu> anselmo@cumesb.mech.columbia.edu (Andrew P. Anselmo) writes:
  14. >>In article <20JUL92.14460039@wl.aecl.ca>, zinckt@wl.aecl.ca writes:
  15. >>> Hell0 - 
  16. >>> 
  17. >>> I am looking for code which produces a list of variable names from inputed 
  18. >>> F77 code.  I as using F77 on VAX/VMS. I thought I would ask the net before  
  19. >>> I write one myself.
  20. >
  21. >Same question, different machine... what about for Unix boxes?  What 
  22. >options for f77 will give me the same variable listing?
  23.  
  24. I hesitate to just reply RTFM, but the original requestor could have just 
  25. typed "HELP FORTRAN" and you can get the answer you desire by typing 
  26. "man f77" if the compiler is called f77 on your machine.  You may need 
  27. to look at "man ld" as well.  
  28.  
  29. The answer is sytem specific.  For example, -qxref does this function 
  30. for the xlf compiler under AIX.  The MIPS compiler on decstations does 
  31. not provide the option, and the DEC f77 compiler requires both -V and 
  32. -show xref to get this listing.  Always check the flags, especially if 
  33. you do not know if -static or -automatic is the default. 
  34.  
  35. --
  36. J. A. Carr                                    |  "The New Frontier of which I  
  37. jac@gw.scri.fsu.edu                           |  speak is not a set of promises
  38. Florida State University  B-186               |  -- it is a set of challenges."
  39. Supercomputer Computations Research Institute |   John F. Kennedy (15 July 60)
  40.