title: Using boost::serialization greatly increases binary size
body: <p>I use rather complex data structures (mostly using STL containers) in my app, and serialize them using Boost (v1.34).</p>
  
  <p>Whenever I compile with debug symbols (gcc -g), the resulting executable gets huge - around 25 MB. Stripping all the debug symbols reduces the size to ~3 MB.</p>
  
  <p>I tried to nail down the cause of the size increase, and it seems that serialization methods are the cause. Particularly, object files for modules that call serialization (code like "oarchive &lt;&lt; myObject") are large, and commenting out the serialization part reduces the size significantly.</p>
  
  <p>Is it possible to prevent generation of these symbols, or to strip them selectively?<br>
  Stripping all the symbols is not an option, since I need debug symbols for my own code.</p>