Search code examples
c++visual-studio

Integrating 3rd party C++ compilers with Microsoft Visual Studio


Duplicate issue: I have read this thread and this thread and these didn't quite answer my question.
Question:: Is there a way I could make Visual Studio use g++ or comeau or other as the C++ compiler. If so, has anyone tried it? Any feedback?
Reason: Love microsoft's IDE, hate their compiler.


Solution

  • IIRC, Leor Zolman's stlfilt used to provide a drop-in replacement for cl.exe. However, that behaved exactly like cl.exe did. I have seen threads referring to replacing the native cl.exe with one of a different compiler version, and it seems even that could be problematic.

    The Windows version of Intel's compiler plugs into VS, though, and that's EDG-based, so you might try that. However, I don't think that's free on Windows.