optlink options to reduce file size?

simendsjo simendsjo at gmail.com
Wed Jul 27 10:20:49 PDT 2011


On 27.07.2011 13:42, Stephan wrote:
> 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 ?

I haven't gone through the switches yet. /EXEPACK looks interesting.


More information about the Digitalmars-d-learn mailing list