[Bug libstdc++/58638] libstdc++ builds as non-PIC when --with-pic is specified

skunk at iskunk dot org gcc-bugzilla@gcc.gnu.org
Wed May 21 21:09:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58638

--- Comment #6 from Daniel Richard G. <skunk at iskunk dot org> ---
(In reply to Jonathan Wakely from comment #4)
> 
> Instead of building GCC with --disable-shared, why not just use
> -static-libstdc++ when linking?

It was a long time ago that I last tried that, so I can't say for sure, but it
was probably that executables were being produced that still had some-or-other
GCC shared-runtime dependency.

(This GCC instance is being used for production builds, so it's
release-engineering considerations uber alles)



More information about the Gcc-bugs mailing list