Mail Archives: djgpp/1997/01/21/02:59:35
On Mon, 20 Jan 1997, Rob Vasquez wrote:
> > Who can help me make my prog faster (as fast as in DJGPP 1)?
>
> From the djgpp FAQ:
> ------------------------------------------------------------------------In general, GCC 2.7.2 which comes with DJGPP v2.0 generates tighter,
> faster code. But it sometimes produces buggy code when "strength
> reduction" optimizations are enabled. So DJGPP by default disables this
> kind of optimization, which might sometimes yield slower code. If you
> need extra speed, first debug your program with default optimization
> options, and then recompile with -fstrength-reduce switch to see if that
> makes any difference.
The latest FAQ release (faq210b.zip) has expanded and enhanced this
section, so it includes much more detailed advice now.
- Raw text -