Using different compiler in Visual Studio

后端 未结 3 1777
无人及你
无人及你 2021-02-13 04:49

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?

相关标签:
3条回答
  • 2021-02-13 04:51

    Yes,you can use Intel C++,and even MATLAB 7.1 or later for sure..here is a reference to use MATLABIt gives a step by step procedure to use MATLAB with VS

    You can also write Java programs and include javac compiler for it...you can refer this if needed..Including javac with VS

    I kno this is surely possible from VS 2010 but not sure for the b4 editions..hope it helps..

    0 讨论(0)
  • 2021-02-13 04:52

    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.

    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

    In summary it's quite a venture

    0 讨论(0)
  • 2021-02-13 05:08

    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.

    0 讨论(0)
提交回复
热议问题