home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / fortran / 4889 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!cs.utexas.edu!hermes.chpc.utexas.edu!michael
  3. From: michael@chpc.utexas.edu (Michael Lemke)
  4. Subject: Re: f77 Compiler
  5. Message-ID: <1993Jan3.041808.21163@chpc.utexas.edu>
  6. Organization: The University of Texas System - CHPC
  7. References: <1993Jan2.202258.28422@leland.Stanford.EDU>
  8. Date: Sun, 3 Jan 93 04:18:08 GMT
  9. Lines: 22
  10.  
  11. In article <1993Jan2.202258.28422@leland.Stanford.EDU> hockbin@leland.Stanford.EDU (hock-bin lim) writes:
  12. >Hi,
  13. >
  14. >    While compiling a program using f77 in the Unix environment, what 
  15. >is the -option command to generate a listing file (with line number
  16. >appended for debugging purposes?  What is the -option command to generate
  17. >the variable statistics at the end of the "list" file?
  18.  
  19. Well, you use Unix = one tool for one task.  So f77 compiles.  You want
  20. a listing?  A cross reference?  Use something else.  Sorry, doesn't 
  21. really come with Unix.  You could monkey with grep -nv @ file.f or 
  22. something to get the line numbers but for a variable listing... ld can 
  23. produce some sort of map but I don't think it is really what you are 
  24. looking for.  But my first statemnet about one task - one tool is of 
  25. course wrong: f77 doesn't just compile but also calls the linker and 
  26. what have you.  Unix and consistency -- well...
  27.  
  28. Michael
  29. -- 
  30. Michael Lemke
  31. Astronomy, UT Austin, Texas
  32. (michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
  33.