Re: -static-libstdc++ ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Sent: Thursday, September 24, 2009 7:08 AM
To: "Tovrea, George W (US SSA)" <george.tovrea@xxxxxxxxxxxxxx>
Cc: <gcc-help@xxxxxxxxxxx>
Subject: Re: -static-libstdc++ ??

"Tovrea, George W (US SSA)" <george.tovrea@xxxxxxxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux