- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to know if Intel C++ Compiler is exactly the same for all platform. I mean.. Should I expect different behaviors in my code when are compiled in different platforms?
I guess that the parameters that Intel C++ Compiler is the same for all platform. So.. could I take from Eclipse or Visual Studio the command line to run the compiler from the console in a easy way?
Thanks in advance.
I guess that the parameters that Intel C++ Compiler is the same for all platform. So.. could I take from Eclipse or Visual Studio the command line to run the compiler from the console in a easy way?
Thanks in advance.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim is right. The Intel C++ Compiler aims mostly for compatibility with the Microsoft* compiler on Windows* and gcc* on Linux*. There are source and binary differences between the two. For example, you use __declspec on Windows* whereas you would use __attribute__ on Linux* for certain compiler extensions. From a binary perspective, there are differences in the ABI on the two operating systems that can affect how the compiler is required to generate code that can affect optimizations.
Where there are no such requirements, you can expect the Intel compiler to behave pretty similarly across platforms. PGO for example works exactly the same on both platforms, except for the slight option name changes Tim refers to.
Where there are no such requirements, you can expect the Intel compiler to behave pretty similarly across platforms. PGO for example works exactly the same on both platforms, except for the slight option name changes Tim refers to.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Obviously, the command line options are spelled differently in the Windows compilers, but the options do have consistent meanings between the Intel compilers of the same version numbers:
/Qansi-alias vs. -ansi-alias
/arch:SSE3 vs. -msse3
/fp:source vs. -fp-model source (Microsoft /fp:fast)
.....
and the Visual Studio buildlog gives you a bunch of Microsoft specific spellings in addition to Intel ones.
/Qansi-alias vs. -ansi-alias
/arch:SSE3 vs. -msse3
/fp:source vs. -fp-model source (Microsoft /fp:fast)
.....
and the Visual Studio buildlog gives you a bunch of Microsoft specific spellings in addition to Intel ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim is right. The Intel C++ Compiler aims mostly for compatibility with the Microsoft* compiler on Windows* and gcc* on Linux*. There are source and binary differences between the two. For example, you use __declspec on Windows* whereas you would use __attribute__ on Linux* for certain compiler extensions. From a binary perspective, there are differences in the ABI on the two operating systems that can affect how the compiler is required to generate code that can affect optimizations.
Where there are no such requirements, you can expect the Intel compiler to behave pretty similarly across platforms. PGO for example works exactly the same on both platforms, except for the slight option name changes Tim refers to.
Where there are no such requirements, you can expect the Intel compiler to behave pretty similarly across platforms. PGO for example works exactly the same on both platforms, except for the slight option name changes Tim refers to.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page