These options come into play when the compiler links object files into an executable output file. They are meaningless if the compiler is not doing a link step.
-static-libgfortran
libgfortran
as a shared and a static library, this option forces the use of the static version. If no shared version of libgfortran
was built when the compiler was configured, this option has no effect.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/Link-Options.html