/[no]compile_only

Syntax:

/compile_only, /nocompile_only, or /c

The /compile_only or /c option suppresses linking. The default is /nocompile_only (perform linking).

If you specify the /compile_only option at higher levels of optimization and also specify /object:filename, the /object:filename option causes multiple Fortran input files (if specified) to be compiled into a single object file. This allows interprocedural optimizations to occur.

However, if you use multiple source files and the /compile_only option without the /object:file option, multiple object files are created and interprocedural optimizations do not occur.

In the visual development environment, to compile (not link) a source file:

  1. In the FileView pane, select (highlight) the file to be compiled
  2. From the Build menu, select Compile filename.xxx