optlink options to reduce file size?

Stephan spam at extrawurst.org
Wed Jul 27 04:42:57 PDT 2011


On 27.07.2011 13:26, simendsjo wrote:
> On 27.07.2011 13: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.
>
> Nevermind. I found the switches here:
> http://www.digitalmars.com/ctg/ctgLinkSwitches.html

So what switched did you use to make it link smaller ?


More information about the Digitalmars-d-learn mailing list