Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

fpp-name

Lets you specify an alternate preprocessor to use with Fortran.

Syntax

Linux:

-fpp-name=name

macOS:

-fpp-name=name

Windows:

/fpp-name:name

Arguments

name

Is the name of the preprocessor executable. It can include a path. See the description below for more details.

Default

OFF

No preprocessor is run on files before compilation.

Description

This option lets you specify an alternate preprocessor to use with Fortran.

The compiler invokes the user-specified Fortran preprocessor by spawning a command with the following signature:

alt_fpp @fpp.arg 

where alt_fpp is the name of the Fortran preprocessor you want to use, and fpp.arg is an input file containing the preprocessor's command line arguments.

fpp.arg is generated by the Fortran compiler driver, and contains the -D<define>, -I<include directory>, and input file names from the compiler command line. Compiler predefined options -D<define> and -I<include directory> are also included. Output from the preprocessor goes to STDOUT and will be captured for any further processing.

You can use option Qoption,fpp,… to pass other definitions (using -D<define>), include directories (using -I<include directory>), or other options accepted by the preprocessor.

You can use option Qlocation, fpp,… to specify a directory for supporting tools.

IDE Equivalent
None
Alternate Options

None

See Also