PDA

View Full Version : Invoking the C preprocessor


R. T. (Fortran Man)
08-14-2003, 06:50 PM
How can I invoke the C preprocessor when compiling?

Lahey Support
08-14-2003, 06:55 PM
When using LF95 Windows or LF specify the following in the compile command when you want to invoke the C preprocessor:
-lfe "-Cpp"

When using LF95 Linux the C preprocessor will be invoked if the source code file name uses capital letters in the extension, e.g., source.FOR. The C preprocessor will also be invoked if the -Cpp option is specified.