Date: Tue, 14 Oct 1997 13:40:13 +0200 (IST) From: Eli Zaretskii To: Myknees cc: djgpp AT delorie DOT com Subject: Re: Simple == Big In-Reply-To: <19971010014900.VAA05748@ladder02.news.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 10 Oct 1997, Myknees wrote: > Now here's the kicker. I also added the -O3 option, and the resulting > executable was still the same size. Does this mean that all simple > programs compiled with djgpp will always be inordinately large? No, it probably means that the options you set in RHIDE somehow don't get to gcc. I don't use RHIDE, so I won't know why that might happen, but it seems like the simplest explanation to everything you report. Just to make sure that I'm right, try compiling your program from the DOS prompt and see if -O3 and -s (lower-case) have any effect on the size of the .exe file. They should. In general, the smalles program compiled with -s should yield a .exe file slightly less than 30KB. If you get significantly larger executables, something's wrong.