What can be done to reduce executable size?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Dec 10 09:31:24 PST 2011


Try using the unilink linker:

ftp://ftp.styx.cabel.net/pub/UniLink/

Get ulnb0329.zip

You have to configure ulink.cfg to this:
-zsnn.lib
-LC:\dmd\windows\lib
-LC:\dm\lib
-Go

-zkernel32;advapi32;user32;wsock32;shell32;snn.lib
-LC:\dmd2\windows\lib
-Go

Then linking is just: ulink <file1>.obj <file2>.obj <lib>.obj etc..


More information about the Digitalmars-d mailing list