Release: GDC for Windows
Kagamin
spam at here.lot
Sat Mar 26 09:27:29 PDT 2011
> > writeln("hello world")
> > compiles to 3MB exe which is approx 1/3 of libgphobos2.
> > object file is just 3KB.
> It doesn't. The following sizes I think use shared libgcc. Might be a
> couple hundred more for a static build. A lot of the size is overhead.
>
> 856 hello.o
> 682,987 hello.exe
> 112,128 hello.exe after strip hello.exe
> 39,424 hello.exe upx...
----
gdc -v2 test4.d -o test4.exe
----
dir test4*
----
26.03.2011 19:17 78 test4.d
26.03.2011 19:18 2Â 835Â 758 test4.exe
2 File(s) 2Â 835Â 836 bytes
----
copy test4.d con
----
import std.stdio;
int main()
{
writeln("hello world");
return 0;
}
1 file(s) copied.
----
with
gdc -v2 test4.d -o test4.exe -s
it's 454kb
More information about the Digitalmars-d-announce
mailing list