Mail Archives: djgpp/1996/12/14/22:02:36
Hi, this is the only snippet I'm posting about:
> >If your program doesn't need parts of the startup code, it can be made
> >smaller by defining certain functions with empty bodies. These
> >functions are __crt0_glob_function , __crt0_load_environment_file , and
> >__crt0_setup_arguments. By defining empty substitutes for all three of
> >these, you can make the "Hello" program be 18KB on disk.
Eli, I don't have the most current version of the FAQ, so if this is
their I apologize, but if not could you please mention that if you
want to zap out __crt0_glob_function, that it needs to be defined as
'int' and that it needs to return 0? This was confusing, at least to
me, and I _thought_ I did a pretty deep perusal of info and the FAQ
(probably not deep enough, tho ;).
Thanks,
Jeff
rbachtel AT ghgcorp DOT com
- Raw text -