What can be done to reduce executable size?
Mehrdad
wfunction at hotmail.com
Sat Dec 10 11:52:22 PST 2011
On 12/10/2011 11:18 AM, Trass3r wrote:
>> If Walter simply releases a few small parts of SNN.lib, it's quite
>> possible to use your own C runtime instead. And that will lower the
>> executable size down to ~10 KB.
>
> Impossible. You forget the D runtime, type info and all the crap from
> phobos that gets pulled in.
> http://thecybershadow.net/d/mapview/view.php?id=4ee3af86c32f2
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.
More information about the Digitalmars-d
mailing list