Win32 compilers questions
Posted: 08 Aug 2005, 16:52
My story:
I?ve been using CygWin?s gcc compiler. With ?O1 options I get the fastest code, -O2 is almost the same as no optimizations and ?O3 compile even slower code. So I was thinking if I should try to mess with each optimization flag to try to get the best result.
I?ve always been suspicious about the effects of cygwin1.dll on my engine?s speed. So I decided to give DJGPP a try and it actually compiled slower code. Before I try Microsoft C++, I thought I should ask here if I should bother at all.
My questions:
What is, in your opinion, the fastest Win32 compiler?
What is you experience with CygWin? Do you think its code is slow?
Do detailed study of the compiler?s optimization flag pays off, or one should stick with the standard optimization options?(e.g. the ?O1, 2 and 3 options of gcc)
I?ve been using CygWin?s gcc compiler. With ?O1 options I get the fastest code, -O2 is almost the same as no optimizations and ?O3 compile even slower code. So I was thinking if I should try to mess with each optimization flag to try to get the best result.
I?ve always been suspicious about the effects of cygwin1.dll on my engine?s speed. So I decided to give DJGPP a try and it actually compiled slower code. Before I try Microsoft C++, I thought I should ask here if I should bother at all.
My questions:
What is, in your opinion, the fastest Win32 compiler?
What is you experience with CygWin? Do you think its code is slow?
Do detailed study of the compiler?s optimization flag pays off, or one should stick with the standard optimization options?(e.g. the ?O1, 2 and 3 options of gcc)