Big problem with Small programs
Walter Bright
newshound at digitalmars.com
Tue Jan 23 15:26:08 PST 2007
Sean Kelly wrote:
> As you can see, simply putting the Win32 object files into a library
> prior to linking reduced the application size by 51,100 bytes, but
> separate compilation had the same (bad) result as compiling all modules
> on one line.
I suggest linking with /MAP, which will generate a .map file listing all
the modules linked in, and all the global symbols linked in. It's a lot
easier to see what's happening with that than guessing based on the file
size.
More information about the Digitalmars-d
mailing list