Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!mintaka!ogicse!unmvax!ariel.unm.edu!cie!scavo From: scavo@cie.uoregon.edu (Tom Scavo) Newsgroups: comp.lang.fortran Subject: Re: INCLUDE 'FOO.FOR/list' Summary: just delete /list under Unix Message-ID: <1991Jan31.172616.18367@ariel.unm.edu> Date: 31 Jan 91 17:26:16 GMT References: <57063@eerie.acsu.Buffalo.EDU> Reply-To: scavo@cie.uoregon.edu (Tom Scavo) Organization: University of Oregon Campus Information Exchange Lines: 21 In article <57063@eerie.acsu.Buffalo.EDU> haozhou@acsu.buffalo.edu (Hao Zhou) writes: >The main program file main.f contains a line INCLUDE 'COMM.FOR/list' >where COMM.FOR is common block file. When I did f77 -c *.f, I came up >with 'COMM.FOR/list is missing'. What is meant by '/list' here. Can I >assume that 'COMM.FOR/list' is a list file generated by the fortran >compiler? How do I correct this on unix? I believe /list is a VAX-VMS Fortran option which tells the compiler to insert the text of the include file (here called 'COMM.FOR') into the list output file (by default, a '.LIS' file under VMS). Simply get rid of the /list option. Oh, and don't forget that Unix is case sensitive in its file naming convention. As an aside, included files are a pain under VMS since the line numbers used by the compiler for error reporting are subsequently all screwed up. With or without /list. Tom Scavo scavo@cie.uoregon.edu