Boost logo

Boost :

Subject: Re: [boost] Extremely large Visual Studio libboost_log_setup* binaries
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-07-03 15:27:17


On Wed, Jul 3, 2013 at 9:36 PM, Jeff Flinn <Jeffrey.Flinn_at_[hidden]> wrote:

> On 7/3/2013 1:11 PM, Andrey Semashev wrote:
>
>> On Wed, Jul 3, 2013 at 9:04 PM, Andrey Semashev
>> <andrey.semashev_at_[hidden]>**wrote:
>>
>> On Wed, Jul 3, 2013 at 8:43 PM, Antony Polukhin <antoshkka_at_[hidden]
>>> >wrote:
>>>
>>> 2013/7/3 Andrey Semashev <andrey.semashev_at_[hidden]>
>>>>
>>>> On Tue, Jul 2, 2013 at 4:47 PM, Tom Kent <lists_at_[hidden]> wrote:
>>>>>>>
>>>>>> <...>
>>>>>
>>>>>> example the msvc-8.0-64 build went from 2GB to 5GB. Upon further
>>>>>>>>
>>>>>>>
>>>>>
>>>> Linux kernel binaries weight 2mb, Firefox binaries weight ~100mb.
>>>> Libraries
>>>> of Boost.Log weight ~3GB.
>>>>
>>>>
>>> Strip the binaries and compare then.
>>>
>>>
>> Also, compare apples to apples. The OP mentions the space needed to build
>> Boost, not the size of the actual binaries you get.
>>
>
> FYI: QtWebkit as static lib: ~1.3GB
>

For sake of reference I just compiled trunk version (practically the same
as 1.54) with VC11 x64:

    638 464 boost_log-vc110-mt-1_55.dll
    254 468 boost_log-vc110-mt-1_55.lib
  1 656 320 boost_log-vc110-mt-gd-1_55.dll
    255 704 boost_log-vc110-mt-gd-1_55.lib
  1 410 048 boost_log_setup-vc110-mt-1_55.dll
     24 566 boost_log_setup-vc110-mt-1_55.lib
  4 799 488 boost_log_setup-vc110-mt-gd-1_55.dll
     24 742 boost_log_setup-vc110-mt-gd-1_55.lib
 22 628 438 libboost_log-vc110-mt-1_55.lib
 74 337 686 libboost_log-vc110-mt-gd-1_55.lib
162 812 450 libboost_log_setup-vc110-mt-1_55.lib
434 984 284 libboost_log_setup-vc110-mt-gd-1_55.lib

By default dlls are built with embedded debug symbols. I'm sure you can
reduce them even more if you build with pdb. This won't work with static
libs though.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk