-static-libstdc++ ??

Ian Lance Taylor iant@google.com
Thu Sep 24 06:09:00 GMT 2009


"Tovrea, George W (US SSA)" <george.tovrea@baesystems.com> writes:

> The option -static-libstdc++ result in "undefined option" and trying to link in .../libstdc++.a fails with tons of undefined references.

-static-libstdc++ will be a new option in gcc 4.5.  It is not
supported in gcc 4.4 or earlier.

What sort of undefined references do you see?

Ian



More information about the Gcc-help mailing list