4 ms·
Bundling shared libraries is also used in big apps for faster build times and for more physical separation between modules. Arguably the final release version
by hdhrnnrkrkf 5y ago
Bundling shared libraries is also used in big apps for faster build times and for more physical separation between modules.
Arguably the final release version could be statically linked, but that could be subtly different than what the devs are using.
- liuliu 5y agoFor these cases, you can just use a modern build system (Bazel) and incremental linker (lld / gold).
- jayd16 5y agoNot everyone is in a position to vendor source for all their dependencies and use a new build system to solve a solved problem.
- jcelerier 5y agoI 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