I have a rather simple C++ project, which uses boost::regex library. The output I\'m getting is 3.5Mb in size. As I understand I\'m statically linking all boost .CPP files,
If you are statically linking then most linkers will only include the objects that are needed.
3.5Mb is not that big - on a PC system so size could depend on OS etc