| Mathieu Smith 2005-03-29, 3:59 pm |
| Hi,
I compile many projects using different Microsoft compilers/linkers
revisions. To do that I use the /useenv parameter on the command line to
launch the IDE. This override all directories specified in the Tools,
options menu.
This way, the compiler/linker used is the one specified by the
environment variable PATH. LIB and INCLUDE environment variables
specifies the other directories.
The problem occurs when the Intel compiler is installed. Installing this
compiler installs also a tool in the Visual C++ IDE to be able to chose
the compiler used from the UI.
First of all, even if the Intel compiler is not selected and not in the
path, Visual C++ try to spawn the xilink6.exe process (Intel selection
tool) to build a project.
Even if I add xilink6.exe location to the path, the compiler/linker used
are not the ones specified by the environment variable PATH, but the
default compiler/linker of the IDE (located in "Program Files").
Does anyone know a workaround?
thanks,
Mathieu
|