What can be done to reduce executable size?

Martin Krejcirik mk-junk at i-line.cz
Tue Dec 13 17:11:18 PST 2011


On 10.12.2011 16:39, Bane wrote:
> Short term and long term suggestions ? Anything we can do ? I heard it
> is some problem with linking dead code?

I don't know about D2, but for D1 it helps to recompile Phobos without
-lib (use lib.exe, see win32.mak).

Hello.d - 84k

I'm attaching my makefiles, the smaller one belongs to phobos/internal/gc

Martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32.mak
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111214/7b273335/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32.mak
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111214/7b273335/attachment-0003.ksh>


More information about the Digitalmars-d mailing list