From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Size of executable too large. Date: 29 May 1997 22:58:25 GMT Organization: Oxford University, England Message-ID: <5ml1mh$8p2@news.ox.ac.uk> References: <338CF04B DOT EFB AT tiac DOT net> NNTP-Posting-Host: sable.ox.ac.uk Lines: 27 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Claude Sassine (claude AT tiac DOT net) wrote: : I am not sure what is meant by empty bodies, supposedly: : #define __crt0_glob_function : #define __crt0_load_environment_file : #define __crt0_setup_arguments I don't think so. Try: (type) __crt0_glob_function() {}; etc replacing (type) with the return type of the function, and putting in a suitable return statement if the function is non-void. : or undefining it in some way. Even if this is true, judging from the : size hello.c file in comparison to the size of its executable, the : compiler still generates an enormous output. I wonder what steps to : take. If your source is short, post it here. Maybe you are using large static arrays or something similar. -- George Foot Merton College, Oxford