Building GtkD app on Win32 results in 111 MiB file mostly from zeroes (compressed size - 324 KiB)

Denis Shelomovskij verylonglogin.reg at gmail.com
Thu Aug 4 03:47:20 PDT 2011


I use dmd with default configuration.

Files from huge-build.zip:

zeroCount.exe: counts zero bytes

main.d:
module main;
import gtk.Main;
void main(string[] args) {
     Main.init(args);
}

doCompile.bat:
dmd -c -release -IgtkD-1.4.1-release\headers main.d

doLink.bat:
link 
main,"testGtkD.exe",,"gtkD-1.4.1-release\library.lib"+user32+kernel32/noi;


library.lib:  Zero bytes:   3_505_980 of  16_175_616 (21.67%)
main.obj:     Zero bytes:         248 of         832 (29.81%)
testGtkD.exe: Zero bytes: 115_666_207 of 116_759_068 (99.06%)


More information about the Digitalmars-d mailing list