optlink options to reduce file size?

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Jul 27 06:45:54 PDT 2011


On 27.07.2011 15:21, simendsjo wrote:
> A simple hello world like dfl application takes 1.2mb. Upx does a 
> great job packing this to 200k, but I wonder if there is a way to make 
> optlink generate smaller executables?
>
> I couldn't find a way to get help on the numerous options in optlink, 
> and the help page at digitalmars doesn't list them either.
I've noticed around two times smaller exes when linked with unilink. So 
if you don't like packing you may try it:
ftp://ftp.styx.cabel.net/pub/UniLink/ulnb0319.zip 
<ftp://ftp.styx.cabel.net/pub/UniLink/>
just make sure you configured it correctly (should be straightforward, 
there are examples)

-- 
Dmitry Olshansky



More information about the Digitalmars-d-learn mailing list