This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -static-libstdc++ ??


I'm wondering how this restriction on libstdc++ in GCC 4.4 impacts on ports done of GCC to interix. AFAIK there are issues with the binutils provided by MS on interix so it is only possible to build static libraries on that platform.

Are you saying that building any statically linked libstdc++ is never going to work until the arrival of GCC 4.5?

Robert

--------------------------------------------------
From: "Ian Lance Taylor" <iant@google.com>
Sent: Thursday, September 24, 2009 7:08 AM
To: "Tovrea, George W (US SSA)" <george.tovrea@baesystems.com>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: -static-libstdc++ ??

"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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]