Mail Archives: djgpp/1997/09/23/06:19:50
On Tue, 23 Sep 1997, ludvig wrote:
> I'm trying(offcourse) to write as fast code as possible but I have seen
> -O2 and stuff to add to tha commandline, how many are there and how do
> they work?
This is explained in the GCC documentation (type "info gcc invoking" from
the DOS command line). Basically, -O2 should do well enough for most
programs.
> I have also read in a article that -O6 was for pentiom
> optimisation but it was 'buggy'?
Anything beyond -O3 is platform-dependent. For Intel CPUs and the current
DJGPP version of GCC, everything beyond -O3 is just like -O3.
- Raw text -