- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I just intergrated the intel compiler to Visual Studio 2015 works fine with all my projects which are MFC C++ except one which is a C makefile
I think I need to override the value for cc = icpc in win32.mak which I did but then there the default options can anyone help with this
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
icl is the name of the compiler on Windows.
icpc is only applicable on Linux (equivalent to g++).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this is my win32.mak I am typing this in as paste doesn't seem to work
cc = icl
this is my output from build
'icl' is not recognized as internal or external command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Normally, you would open the cmd prompt window for your combination of ICL and VS and start your make command there.
Other possibilities might include copying the ICL start command shortcut into your makefile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The cc = value is the value of a exe the exe had to be in path altnerativilly can you type in the entire path enclosed in quoutes e.g. "C:\program files(x86)\intelSWTools\compiler\......icl.exe"
Is that correct
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Normally, you want the entire set of PATH settings for ICL, including the Microsoft compiler, include, and linker paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll provide my entire path when I get home as anside is there a way to cut and paste an response here I right clicked and it doesn't seem to work also I would of thought the install of the compiler would of update the paths that would be needed to compile and link I guess things are simple for a Visual Studio build by nothing is simple for a makefile build
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's possible that you need to convert your visual studio makefile project into an intel compiler project. If you do that then visual studio may put ICL into visibility before launching the makefile. I normally use the command line, I believe you can access the conversion by right click on the project name.
--Melanie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Melaine
thanks that did work with my other MFC C++ projects right clicking gave me the option of compiling with intel this however is nmake project
which makes it a nightmare I did a search on size_t but as you would imagine got a million references I know if I put some preprocessor option it will get rid of the error just trying to find the original definition of size_t
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ICL should take the definition of size_t from the Visual Studio include files. If your program makes non-portable assumptions about size_t, it will break if you change from 32- to 64-bit mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was pointing to the 32 bit version of icl in addition I needed to include some libs in the libpath I was able to get build but with warnings
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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