Mail Archives: djgpp/1997/03/03/08:26:11
On Sun, 2 Mar 1997, Malcolm Taylor wrote:
> Is there any non-standard way of reducing the startup code overhead?
> (ie after declaring null globbing funcs etc.)
You mean, beyond what's explained in section 8.15 of the FAQ? I don't
think you can do that, short of writing your own stub and startup
code. I don't believe there's much slack in there, since DJ Delorie
actually tried to make it as small as he could during v2 development.
But you can always try to do better ;-).
> I am interested in
> making a certain exe as small as humanely possible, and was wondering
> what parts of the library source to attack for example.
Why does it bother you so much? You cannot make it too small without
losing important features (disabling parts of startup code as the FAQ
explains is already painful in almost every real-world program). For
more extensive code-slashing you will have to write your program in
assembly, AFAIK.
- Raw text -