Mail Archives: djgpp/1997/12/21/07:00:47
On Sat, 20 Dec 1997 GAMMELJL AT SLU DOT EDU wrote:
> It will be a question of the speed of the gnu executables--remind me
> once more what the "fastest possible code" switch looks like on the
> line
> gxx example.cc -o example.exe
Add -O2 to the command line, it usually produces very good code.
There are other optimization-related switches (llok in section 14.2 of
the DJGPP FAQ list), but I won't recommend trying them until your code
works well with -O2. Their effect is marginal anyway.
- Raw text -