I've downloaded 7-Zip 4.58 sources and tried to compile some modules. First I noticed that the size of 7zSD.sfx has increased compared to the "official" version. Then I tried to make lzma.exe (using LZMA SDK sources only) and got several errors. First, unused files RangeCoderBit.cpp and LZOutWindow.cpp, absent from LZMA SDK, are present in the project (which resulted in compile error). No error occurred after excluding them from build. Second, making lzma.exe in the Release config failed due to unresolved references. Finally, in the ReleaseU config, the size of lzma.exe was 108 Kbytes against 64 of that from the "official" build.
I wonder why is that happening. PEiD says the "official" files are built with MS VC++ 6.0. I have Visual Studio 6.0 SE SP6 with ICC 8.0 and Win2k3 Server SP1 DDK installed over it. Project configuration wasn't changed except for the path C:\Util (which is inconvenient for me). Built with the integrated cl.exe, lzma.exe is almost twice as big and twice as slow at the original one. Enabling Intel's compiler saves 7 Kbytes and increases performance, but the latter is still lower than that of the original (strictly speaking, I have to compile LzmaAlone.cpp and LzmaBenchCon.cpp with cl.exe due to buggy MS VC configuration). Manual tuning (/Ox /Ot /Og /Oi /Gf /Gy) doesn't speed the application up either.
Logged In: YES
user_id=65083
Originator: NO
Try 7-Zip 4.59 beta and use makefile.
I don't update some .dsp for each release.