Community
cancel
Showing results for 
Search instead for 
Did you mean: 
James_Hancox
Beginner
87 Views

What files should be commited to svn in order to use intel compiler by default.

Hi, I'm developing VC6 (no choice), and have just moved to compiling the source code using the intel 10.1.30 compiler. I have this working, and my project is commited to SVN.
However, when I do a fresh checkout, I find that my project compiles using the microsoft compiler again. Any changes I make to compiler args through visual studio are kept, but using process explorer shows that ICL is no longer being used. Opening the dsw in vc6, and changing to intel compilation again fixes it, but I am working on a continuous integration solution, and need to know what stores the intel compiler option.
Any help is greatly appreciated.
Matt
0 Kudos
7 Replies
Om_S_Intel
Employee
87 Views

Can you you confirm if Intel project file (.icproj) is checked out?

James_Hancox
Beginner
87 Views

Hi Om, There are no icproj files. There were none created when I installed/set the project to use the Intel compiler.
Om_S_Intel
Employee
87 Views

To use the intel compiler, your microsoft project file is converted to use Intel C++ compiler. In 11.1 and older a .icproj is created. you need to checkin this file also in svn and checkout when you want it back.
James_Hancox
Beginner
87 Views

Just to clarify, I am using Visual C++ 6.0, and the Intel 10.1 compiler (the 11.1 compiler is not an option as we need to have vc6 compatible binaries)
Om_S_Intel
Employee
87 Views

The Intel C++ compiler version 10.1 support Visual C++ 6.0. You may take a look at the "Release Notes" and system requirement.
James_Hancox
Beginner
87 Views

Ok starting again as I've not been clear enough:
-I have a vc6 project 'MyProject', originally compiled with the Microsoft compiler, using dsw and dsp files.
-I installed the Intel 10.1 compiler, configured the project, and 'MyProject' now compiles with the Intel compiler.
-My project is checked into SVN
-When I do a clean checkout, the project reverts to using the Microsoft compiler
My question:
What files specify the selection ofIntelorMicrosoftcompiler in a VC6 environment?
Why do I ask:
I want to be able to do a clean checkout and build without opening visual studio and selecting theIntelcompiler.
Brandon_H_Intel
Employee
87 Views

The integration into Microsoft Visual C++ 6.0* didn't code the compiler selection into files. It uses Windows registry keys to store the selection information. I'm kind of surprised that it doesn't maintain that selection for you as long as you are logged into the same account. It should persist across projects and even instances of Visual Studio*. That being said, there is a way to hardcode the selection into your project. Add the /D macro _USE_INTEL_COMPILER to your project settings. That will force the Intel compiler to be selected.