在Visual Studio中使用不同的编译器 [英] Using different compiler in Visual Studio

查看:171
本文介绍了在Visual Studio中使用不同的编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

This maybe a beginner question but could not find proper answer on the internet. I am curious can I use some other compiler (which I like) in Visual Studio 10?

推荐答案

从Visual Studio 2010开始,概念上可以集成另一个编译器。在本书在Microsoft Build Engine中,使用MSBuild和Team Foundation Buid 第2版,第338页,添加新平台和平台工具集一章

As of Visual Studio 2010, it is conceptually possible to integrate another compiler. In the book ‘Inside the Microsoft Build Engine, Using MSBuild and Team Foundation Buid’ 2nd edition, on page 338, the chapter ‘Adding a New Platform and Platform Toolset’ the process of adding gcc to visual studio is explained.

但是,虽然这是可能的,但它一直保持作为一个概念。为了我的意识,没有人真正完成任务,并公开披露的结果。但即使有这样的支持,你仍然缺乏调试设施。这需要您的编译器选择生成 .pdb 文件和/或使用新的本地调试器扩展visual studio

However, while it is possible, it has always remained as a concept. To my awareness, nobody has actually been up to the task and publicly disclosed the results. But even with this support, you'd still be lacking debugging facilities. Which would require your compiler of choice to generate .pdb files and/or extend visual studio with a new local debugger

总之,这是一个冒险

这篇关于在Visual Studio中使用不同的编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆