The Fortran M preprocessor converts a Fortran M file (.fm) into Fortran 77 (.f ) and C (__.c ) files. Fortran M statements are replaced by calls to the Fortran M libraries or to C procedures generated by the Fortran M preprocessor and located in the __.c file. You should need to refer to these generated .f and __.c files only when debugging, as described in §4.1.3 and §4.2.
The .f and __.c files are compiled and combined into a single object (.o ), file.
Object files produced by the Fortran M compiler can be linked with other object files, with the Fortran M libraries, and with system libraries to produce an executable program that can be run as described in §4.2.
In addition to normal compiler arguments such as -c , -o , -l , and -L which behave as in most other compilers, and the CPP arguments described previously (§4.1.1), the behavior of the Fortran M compiler and linker can be modified with the following arguments:
A complete list of Fortran M compiler arguments, and a brief description of their meaning, can be obtained by running fm -h .