This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -iquote Is not finding the include file


On 27 August 2012 19:03, Jason Clark wrote:
> Thank you for your help in advance, I am absolutely new to gfortran
> and am now stuck. I am using Windows Vista and attempting to compile
> some code that has #include "..." statements that reference a file not
> in the same location as the .f file. The command I input is as
> follows:
>
> gfortran -iquote
> c:\programfiles\aspentech\aspenplus2006.5\engine\commons
> -xf77-cpp-input usrkpg2.f
>
> The error I receive is as follows:
>
> usrkpg2.f:66:0: fatal error: rcst_rcstri.cmon: No such file or
> directory compilation terminated

I don't know how gfortran uses the preprocessor, but you would usually
use -I to find headers, not -iquote, which is for more specialized
uses. Does using -I work?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]