Specify the directory explicitly to GCC, that should solve your problem.Tom Likens wrote:Don,Don wrote:This issue has come up in another thread - I have heard conflicting reports over the past few years.
Some say that gcc as of version 4.6 and 4.7 is now at least the equal of Intel with respect to producing binaries that perform well - particularly due to improved link time optimization and a massive improvement in PGO.
Traditionally however Intel has always had the edge. What is the truth?
Both compilers are available for Windows and Linux - are there any platform differences? For instance is the Intel compiler crippled on Linux?
My experience is that the GCC has caught up with Intel when you use GCC 4.6+ (I'm currently using the default 64-bit version 4.6.3 that comes with Linux Mint vs. icpc (ICC) 13.0.0 20120731). This wasn't true for earlier versions of the Gnu compiler; then Intel had a substantial lead, especially when PGO was selected. At that time ICC was roughly 30% faster after PGO optimization.
I do have one question for you, previously you said that you were able to run PGO on a GCC compiled linux version and use it for optimizing a MingW version (same gcc version for both of course). I've tried this but it doesn't seem to work for me. I get a lot of messages that the optimizer can't find a large number of the functions (the name C++ name-mangling algorithm seems different) and the final Windows executable doesn't seem any faster than a straight MingW compile.
Could you elaborate a bit more on exactly how you got that to work, as it would be nice not to leave a 10-15% performance boost on the table. Is Komodo a C or C++ program? That might be the difference as my engine is written in C++.
regards,
--tom
GCC stil is roughly 10% slower here than intel c++. That's a huge difference.
