Difference in size with different branches

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 15:38

Difference in size with different branches

Post by Guitarm » 2006-09-01 00:39

Hello,

I have a question regarding size of different source (and binary) downloads of DC++.

If I download the binary version of 0.694, the sizes are as follows:
DCPlusPlus.exe = 1 536 000 byte
DCPlusPlus.pdb = 11 481 088 byte

If I download the source version of 0.694 (and compile it), the sizes are:
DCPlusPlus.exe = 1 613 824 byte
DCPlusPlus.pdb = 19 230 720 byte

If I use SVN and check out a clean copy of 0.694 and compile, the sizes are:
DCPlusPlus.exe = 1 613 824 byte
DCPlusPlus.pdb = 19 222 528 byte

So, my question is - Why do they differ?. Is there some optimizing I don't know about, or is it caused by different WTL and STLPort versions?

I should mention that I use VS 2003 with SP1, WTL 7.5 (build 5333) and STLPort 5.0.2 to compile. The sources are also completely unmodified.

Regards

Big Muscle
Posts: 72
Joined: 2004-01-23 14:45

Post by Big Muscle » 2006-09-01 08:44

I think it's due to STLPort version. As I know arne still uses 4.6.2

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2006-09-02 09:05

PDB size also depends on build type. If you do an incremental build, it is larger, and doesn't seem to be useful for loading debug symbols.

Locked