Mail Archives: djgpp/1999/08/16/20:02:25
In article <37B780A8 DOT 1874F32E AT geocities DOT com> you wrote:
> compile string:
> gcc -s pong.cc -o pong.exe
This is not, nor has it ever been, the proper selection of gcc options
if you want a *fast* program. By not giving any optimization flags
(-O2 or higher, e.g.), you're implicitly telling gcc that speed
doesn't matter, for this program. You get what you asked for, then.
If you want to make a meaningful comparison, use at least '-O2' for
both compilers, or maybe higher levels.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -