home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!usenet.coe.montana.edu!rpi!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!cis.ksu.edu!mac
- From: mac@cis.ksu.edu (Myron A. Calhoun)
- Newsgroups: comp.lang.fortran
- Subject: Re: f77 Compiler
- Message-ID: <mac.726084057@depot.cis.ksu.edu.cis.ksu.edu>
- Date: 3 Jan 93 17:56:16 GMT
- Article-I.D.: depot.mac.726084057
- References: <1993Jan2.202258.28422@leland.Stanford.EDU>
- Organization: Kansas State University
- Lines: 19
- NNTP-Posting-Host: depot.cis.ksu.edu
-
- hockbin@leland.Stanford.EDU (hock-bin lim) writes:
- > 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?
-
- To find compile-time errors in the easiest possible way, pipe the output
- of the compiler through "error". For example, to compile a file named
- "xx.f", I type "ff xx" and (among other things) a script file substitutes
- "xx" for each $1 in the following line:
-
- f77 -C -u -w -o .$1.x $1.f |& error -v -t .f
-
- --Myron.
- --
- # We preserve our freedoms using four boxes: soap, ballot, jury, and cartridge.
- # Myron A. Calhoun, PhD EE; Assoc. Professor (913) 539-4448 home
- # INTERNET: mac@cis.ksu.edu (129.130.10.5) 532-6350 work, 532-7353 fax
- # UUCP: ...rutgers!depot!mac Packet-BBS: W0PBV @ K0VAY.#NEKS.KS.USA.NAOM
-