Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

slow compilation

nevrax
Beginner
419 Views
Hello,

I would like to know how many time slower is the compilation (even in debug mode).
It seems that my compilation is 2 times slower than the default visual compiler, have you the same behavior?

0 Kudos
3 Replies
JenniferJ
Moderator
419 Views
It really depends.
What options you used? Does it happen to a specific file? If so, we really like to see your code. Could you submit it to Premier Support?

Jennifer
0 Kudos
barnali-banerjee7
419 Views
Hi

In general, the compilation time with Intel compiler with any option other than -ipo and -prof_gen are similar to that with other (gcc/g++) compilers.
Can you please let me know the specific application, compiler option and compiler version/build you are using ?

Regards
Barnali
0 Kudos
Telnov__Alex
Beginner
419 Views
Perhaps you have a lot of header files #include'd in other header files. Try to minimize this by using forward class/struct declarations. Also consider using precompiled headers.
0 Kudos
Reply