Dll size differs for build on different PC
I have a VC++ dll library which is built (with Visual Studio 2003) on Windows 开发者_JS百科XP machines ( a US-English PC and a German PC). The source code is the same and does not have any language specific code. The Release version of the dll built on the German PC is approx 30 MB whereas the dll built on the US-English PC is approx 7 MB.
What could be the reason for this? Is this normal?
Not a lot of information to go on. If I were to take a guess, maybe you are static linking a different set of libs perhaps.
Use "dumpbin" on both dlls and see what is different.
Perhaps one machine is configured to produce a debug build.
精彩评论