# preprocess-only

Causes the Fortran preprocessor to send output to a file.

## Syntax

Linux: | -preprocess-only

macOS: | -preprocess-only

Windows: | /preprocess-only

## Arguments

None

## Default

OFF | Preprocessed source files are output to the compiler.

## Description

This option causes the Fortran preprocessor to send output to a file.

The source file is preprocessed by the Fortran preprocessor, and the result for each source file is output to a corresponding .i or .i90 file.

Note that the source file is not compiled.

## IDE Equivalent

None

## Alternate Options

Linux and macOS: -P

Windows: /P

Parent topic: Preprocessor Options