cwindowsvisual-c++

Where is the C compiler located on disk for Visual C++ 2008 Express?


I'm trying to set up the Hg-Git Mercurial Extension, which recommends using the C compiler for Microsoft Visual C++ 2008. I've installed Visual C++ 2008, but I can't figure out where the C compiler is located so that I can add it to my path.


Solution

  • Windows 7 / Vista:

    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\cl.exe
    

    Windows XP:

    C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\cl.exe