I never put much thought into the size difference between a static library and a dynamic library until I downloaded pre-built libraries of boost today. I found that the static libraries of boost are much much bigger than the dynamic libraries.
For example, the debug multi-threaded boost wave static library is 97.7 mb
in size while the same library, but dynamic, is only 1.4 mb
in size (including import library and dll)! That is a huge difference. Why is that?
Second question, if I statically link against, let's say, the wave
library. Does that mean my executable will balloon in size to more than 97.7 mb
?