Lahey/GNU Fortran

How the Driver Works

The driver (LGF.EXE) translates and passes the appropriate options to the GFortran driver, GFortran.exe, which must be found on the path (PATH environment variable). GFortran.exe controls the two main processes - compilation and linking - used to create an executable program. Supplemental processes, like creating static libraries, DLL's, import libraries and processing Windows resources, are sometimes used depending on whether you are creating a DLL or a Windows GUI application, etc. These processes are performed by the following programs:

The The LGF driver uses temporary files for sending information between the driver and processes it controls. These files are automatically created using random names and are deleted when the process is complete.

If the -c (compile only) option is specified, processing will stop after the compiler runs and modules are created (if necessary). Otherwise, processing continues with the appropriate action depending on what sort of output file is requested.