www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/14/22:02:36

Comments: Authenticated sender is <rbachtel AT mailman DOT ghgcorp DOT com>
From: rbachtel AT ghg DOT net (Rodney L. Bachtel)
To: djgpp AT delorie DOT com
Date: Sat, 14 Dec 1996 20:40:06 +0000
MIME-Version: 1.0
Subject: Re: Reducing file size - again
Message-ID: <19961215025015.AAC15442@max5-41.ghg.net>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019