For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > March 2005 > Intel compiler + /useenv parameter (Visual C++ 6.0)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Intel compiler + /useenv parameter (Visual C++ 6.0)
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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com