To deploy testing versions of applications built with (yet unreleased) versions of gcc may be difficult due to linked in libraries as libgfortran and libgomp.
Similar to -static-libgcc, options like -static-libgfortran or -static-libgomp would help to avoid problems. Especially for libgomp, one can not simply use LDFLAGS=-static as libgomp pulls in libpthread and static linking is not supported with libpthread (see PR30471, PR30613). -- Summary: enable static linking of support libraries through - static-libXY Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dfranke at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31400