Armen Tsirunyan
Armen Tsirunyan

Reputation: 133092

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.

Upvotes: 3

Views: 549

Answers (2)

Puppy
Puppy

Reputation: 146998

You should be able to alter your .vcproj files to specify a different MSBuild task instead of cl.exe. You can find more information about this on the MSDN website, but it's perfectly possible to launch a third party tool.

Upvotes: 0

sbi
sbi

Reputation: 224149

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.

Upvotes: 2

Related Questions