public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Install static libstdc++
@ 2021-11-16 19:21 Christer Solskogen
  0 siblings, 0 replies; only message in thread
From: Christer Solskogen @ 2021-11-16 19:21 UTC (permalink / raw)
  To: gcc-help

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-16 19:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 19:21 Install static libstdc++ Christer Solskogen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).