- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Now, we use icx-cl in Visual Studio 2022 to compile Windows applications. However, we find there is icpx in the same folder. We also find a table for this (https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2023-1/invoke-the-compiler.html)
Does it mean the icpx is only for Linux development?
Could icpx be used by Visual Studio 2022 for Windows APP development? (Not using CMake. Only use solution and vcxproj files.)
If icpx could be used by Visual Studio 2022 for Windows APP development, how to select it as default compiler in Visual Studio 2022?
Note: the version of icpx and icx-cl are both 2023.2
the version of Visual Studio 2022 is 17.5.1
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
>>Does the cl from icx-cl mean Clang or classic?
icx-cl is the Microsoft-compatible variant of icx and cl in icx-cl is nothing significant. It is the carry over from Microsoft command line compiler.
>>Does icx mean Intel Compiler?
Yes, icx is an Intel compiler. icx compiler is recommended for windows and icpx compiler is for linux.
For more information please refer to the below links,
If you still have any queries, please let us know.
Thanks & Regards,
Vankudothu Vaishnavi.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting on Intel communities.
We are working on it internally. We will get back to you soon.
Thanks & Regards,
Vankudothu Vaishnavi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thanks for being patient and understanding.
>>Can Visual Studio 2022 for making Windows apps use "icpx"?
No, Visual Studio 2022 doesn’t have the option to select "icpx."
It's recommended to use "icx" as the default driver for Windows. Some specific settings for Windows only work with "icx" and not with "icpx." For instance, using the option "-Od" to turn off all optimizations works with "icx" on Windows, but it causes an error with "icpx."
"icpx" can be used for specifying options that are only for Linux, such as "O0" and "-fasynchronous-unwind-tables."
Certain flags for separating data items into their own sections are used differently for Linux and Windows:
- For Linux: "-fdata-sections"
- For Windows: "/Gw"
icx:
icx.exe /c /fdata-sections HelloWorld.cpp
icx: warning: unknown argument ignored in clang-cl: '-fdata-sections' [-Wunknown-argument]
icx.exe /c /Gw HelloWorld.cpp
icpx:
icpx.exe /c /fdata-sections HelloWorld.cpp
icpx.exe /c /Gw HelloWorld.cpp
icpx: warning: argument unused during compilation: '-G w' [-Wunused-command-line-argument]
Thanks & Regards,
Vankudothu Vaishnavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for the information.
Does the cl from icx-cl mean Clang or classic? Does icx mean Intel Compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
>>Does the cl from icx-cl mean Clang or classic?
icx-cl is the Microsoft-compatible variant of icx and cl in icx-cl is nothing significant. It is the carry over from Microsoft command line compiler.
>>Does icx mean Intel Compiler?
Yes, icx is an Intel compiler. icx compiler is recommended for windows and icpx compiler is for linux.
For more information please refer to the below links,
If you still have any queries, please let us know.
Thanks & Regards,
Vankudothu Vaishnavi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your great help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you have any other issues? Could you please confirm if we can close this thread from our end?
Thanks & Regards,
Vankudothu Vaishnavi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes. Please close this thread from your end. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for confirming. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Vankudothu Vaishnavi.

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