7z.exe and 7z.dll different size when compiled to original release

  • Buzz

    Buzz - 2013-09-29

    Hi there,

    Ive compiler the 9.20 source using "nmake NEW_COMPILER=1 MY_STATIC_LINK=1" but i see that the size of the binaries (7z.exe = 213KB) and (7z.dll = 864KB) are different to the released binaries (7z.exe = 160KB) and (7z.dll = 893KB). I have made no changes so im just wondering if anyone would know why these sizes would be different.

    Many Thanks

  • Igor Pavlov

    Igor Pavlov - 2013-09-29

    I still use msvc 6.0 to compile C++ files for 32-bit version.

  • Buzz

    Buzz - 2013-09-30

    Ok thanks, Is there any advantage in using the older compiler? or is it probable that using the new compiler (win SDK 7.1) would cause new bugs? tks

  • Igor Pavlov

    Igor Pavlov - 2013-09-30

    7-Zip binaries (compiled with msvc 6.0) use msvcrt.dll. So executables are smaller (but the difference is big only for small files). Also I know about some bugs in new compilers. I hope Microsoft will fix them. These bugs were for some rare code cases. So probably 7-Zip will work ok with new compilers.
    And I plan to use new compiler in future.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks