Mail Archives: djgpp/1997/10/14/07:41:58
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,
- Raw text -