pseudonym_127
pseudonym_127

Reputation: 357

Using different compiler in Visual Studio

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?

Upvotes: 16

Views: 8901

Answers (3)

user2404103
user2404103

Reputation: 1

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..

Upvotes: 0

Lawrence Kok
Lawrence Kok

Reputation: 1598

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

Upvotes: 1

Sanoob
Sanoob

Reputation: 2474

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.

Upvotes: 0

Related Questions