16

这可能是一个初学者的问题,但在互联网上找不到正确的答案。我很好奇我可以在 Visual Studio 10 中使用其他一些编译器(我喜欢的)吗?

4

3 回答 3

1

从 Visual Studio 2010 开始,概念上可以集成另一个编译器。在“<em>Microsoft Build Engine 内部,使用 MSBuild 和 Team Foundation Buid”第 2 版一书中,第 338 页,“<em>添加新平台和平台工具集”一章中,将 gcc 添加到 Visual Studio 的过程是解释。

然而,虽然它是可能的,但它始终是一个概念。据我所知,实际上没有人能够胜任这项任务并公开披露结果。但即使有这种支持,您仍然缺乏调试工具。这将需要您选择的编译器生成.pdb文件和/或使用新的本地调试器扩展 Visual Studio

总而言之,这是一次冒险

于 2013-05-15T07:13:29.190 回答
0

You can use other compiler Intel c++ in VS. I don't think any other compiler supports VS.The main reason behind it is lack of plug-ins in VS. But you can use cmake scripts to compile your code in different compilers. With eclipse you can use most of the compilers (VS,gcc). Code blocks also allows you to choose the compilers.

于 2013-05-14T12:34:12.317 回答
0

是的,您可以使用 Intel C++,甚至可以使用 MATLAB 7.1 或更高版本。.here is a reference to use MATLAB它提供了将 MATLAB 与 VS 一起使用的分步过程

您还可以编写 Java 程序并为其包含 javac 编译器...如果需要,您可以参考此内容。在 VS 中包含 javac

我知道这在 VS 2010 中肯定是可能的,但不确定 b4 版本..希望它有所帮助..

于 2013-05-21T06:19:04.467 回答