What can be done to reduce executable size?
RivenTheMage
riven-mage at id.ru
Sat Dec 10 13:06:40 PST 2011
> Short term and long term suggestions ? Anything we can do ?
I'm using UniLink.
> import std.stdio;
> int main(){
> writefln("Hello Bloat!");
> return 0;
> }
On Windows:
DMD v2.056
UniLink 1.07 build 3.21
---
import std.stdio;
int main()
{
writefln("Hello World!");
return 0;
}
---
dmd.exe -I"C:\DMD2\src\phobos" -c helloworld.d -of"helloworld.obj"
ulink.exe -ap -zsnn.lib -L"C:\DMD2\windows\lib" -L"C:\DMC\lib" -Go
"helloworld.obj", "helloworld.exe", , phobos.lib, , ---
helloworld.exe = 276 Kb
More information about the Digitalmars-d
mailing list