-static-libstdc++ ??

Robert Oeffner robert@oeffner.net
Mon Sep 28 22:19:00 GMT 2009


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
> 



More information about the Gcc-help mailing list