Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!pa.dec.com!shlump.nac.dec.com!fman.enet.dec.com!peterson From: peterson@fman.enet.dec.com (Bob Peterson) Newsgroups: comp.lang.fortran Subject: Re: How to use -I to specify an alternate include directory in f77 Keywords: f77, INCLUDE Message-ID: <1991Apr18.101450@fman.enet.dec.com> Date: 18 Apr 91 14:14:50 GMT References: <1991Apr18.055611.6793@engin.umich.edu> Sender: news@shlump.nac.dec.com Reply-To: peterson@fman.enet.dec.com (Bob Peterson) Organization: Digital Equipment Corporation Lines: 16 In article <1991Apr18.055611.6793@engin.umich.edu>, oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA) writes: >The man page on f77 for both decs (decstation 5000) and apollos mention >the -I option although it says the -I option changes the search path for > #include files. Isn't this #include refering to the INCLUDE f77 statement ? Speaking for DEC Fortran V3: -I is passed to the cpp, and hence affects only '#include'. INCLUDE statements are not affected by -I. The file gets foud in either the working directory or the place where the including source was found, depending on the -vms switch. \bob peterson@tle.enet.dec.com