Influencing the linking step#
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#
On systems that provide
libgfortranas a shared and a static library, this option forces the use of the static version. If no shared version oflibgfortranwas built when the compiler was configured, this option has no effect.
- -static-libquadmath#
On systems that provide
libquadmathas a shared and a static library, this option forces the use of the static version. If no shared version oflibquadmathwas built when the compiler was configured, this option has no effect.Please note that the
libquadmathruntime library is licensed under the GNU Lesser General Public License (LGPL), and linking it statically introduces requirements when redistributing the resulting binaries.