What can be done to reduce executable size?
Trass3r
un at known.com
Sat Dec 10 11:59:11 PST 2011
> Sorry, I meant EXCLUDING the 'hello world' part.
>
> i.e. a program that (literally) does nothing should not require anything
> except argument-parsing, which can be done through msvcrt.dll's
> __wgetmainargs(). So really, it should hardly need any code at all.
I know it shouldn't. But currently you still have to statically link the
runtime, gc, etc. even in an empty program:
http://thecybershadow.net/d/mapview/view.php?id=4ee3b98636422
More information about the Digitalmars-d
mailing list