What can be done to reduce executable size?

Jacob Carlborg doob at me.com
Wed Dec 14 04:43:57 PST 2011


On 2011-12-14 12:47, bearophile wrote:
> Martin Krejcirik:
>
>> I don't know about D2, but for D1 it helps to recompile Phobos without
>> -lib (use lib.exe, see win32.mak).
>
> What are the effects/disadvantages of doing this?
>
> Bye,
> bearophile

You need to explicitly invoke the tool that creates libraries on the 
given system (ar on Posix, lib on Windows) making it platform dependent.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list