By default, the LGF driver program will direct the compilation of any specified source files and link them along with any specified object files and libraries into an executable program.
To run the driver, type LGF followed by a list of one or more file names and optional command-line options:
LGF filenames [options]
Depending on the extension(s) of the filename(s) specified, the driver will invoke the necessary tools. The file extensions .f08, .f03, .f95, .f90, .ftn, .FOR, and .F, for example, cause the compiler to be invoked, .OBJ causes the linker to be invoked, and .RC causes the resource compiler to be invoked.
Pathnames and filenames containing spaces must be enclosed in quotes.
The driver translates and passes the appropriate options to the GFortran driver, GFortran.exe, which must be found on the path (PATH environment variable).
To display the LGF version number and a summary of valid command-line
To display only the LGF version number, type
Warning: the extension .MOD is reserved for compiler-generated module files. Do not use this extension for your Fortran source files.