LF Fortran 95  

Static Linking Overview

The information on building a statically linked program is the same as for dynamic linking (described above) with the following exceptions:

There are several examples in the following sections. The source code, to enable you to experience mixed-language calling, are in subdirectories \Win32\Examples\Mix_Lang\fcc\ex1, ex2, ex3, etc., below the installation directory (by default <Program-Files>\Lahey-Fujitsu Fortran\<version>). Each one is accompanied by a file called GEN.BAT, that will compile and link the sample code. There are additional examples specific to compiler type in the \Win32\Examples\Mix_Lang\MSVC and \Win32\Examples\Mix_Lang\BC directories.