Install static libstdc++
Christer Solskogen
christer.solskogen@gmail.com
Tue Nov 16 19:21:11 GMT 2021
How can I, if possible, configure gcc to only install static versions of
libgcc and libstdc++ while the rest are shared?
I know I can delete all unneeded static libs after install, but is there
a better way? I've tried setting --disable-static
--enable-static=libstdc++, but to no avail. A static version *is* built
(even without --enable-static=libstdc++) it's just not installed during
"make install (./x86_64-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.a)
--
chs
More information about the Gcc-help
mailing list