Re:“Shared libraries are not a good thing in general”
by liuliu on Saturday May 01, 2021 @09:08PM
(#27011464)
For these cases, you can just use a modern build system (Bazel) and incremental linker (lld / gold).
Re:“Shared libraries are not a good thing in general”
by jayd16 on Saturday May 01, 2021 @09:37PM
(#27011628)
Not everyone is in a position to vendor source for all their dependencies and use a new build system to solve a solved problem.
Re:“Shared libraries are not a good thing in general”
by jcelerier on Sunday May 02, 2021 @04:22AM
(#27013315)
I do the same with good ol' cmake, I have a "developer" preset which will build my app with clang, lld, PCH, split into small shared libraries. And a release preset where everything is statically linked
Arguably the final release version could be statically linked, but that could be subtly different than what the devs are using.