Lahey/Fujitsu Fortran

-OUT filename

Output Filename

Link only. Default: the name of the first object or source file.

If -out is not specified, the output file is not automatically placed in the current directory. By default it is placed in the same directory as the first source or object file listed on the command line.

This option takes a single argument, which is the path and name of the output file. If filename contains no path information, the output file is placed in the current directory.

If the file extension .EXE is specified, an executable file will be created. If no extension is specified with the -ndll option (default), the .exe extension is assumed.

If the file extension .dll is specified, a dynamic-link library will be created. If no extension is specified with the -dll option, the .dll extension is assumed.

If the file extension .LIB is specified, and the specified library file does not exist, it will be created. If the specified library already exists, it will be updated.

Visual Studio Property

The -out option corresponds to the Fortran|General|Output Path and/or Output Name properties. This property can be set on the property page for the project only.

Examples

LF95 hello.obj -out d:\LF95\hello.exe LF95 main.obj -out maintest

See Also

Setting Build Options