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