Reputation: 217
I'm kind of new to code and use builders for C++ in Windows because I always coded in Linux using the g++ compiler. I just want to know if it is possible to get a similar compiler/builder to "install" or use it in visual studio. It would be awesome if I could maybe use the g++ compiler on windows (preferably in visual studio) if it is possible?
And if it is possible, how do I go about the download and installations of it?
Upvotes: 2
Views: 10223
Reputation: 8805
MinGW!! Great opensource G++ compiler. Follow the instructions on site.
If you want something more dedicated, use Cygwin. Visual studio also has its own version of g++
with cl
.
Upvotes: 1
Reputation: 18972
You could check this project:
It's an add-in that allows easy use of Clang compiler from inside Visual Studio, replacing the MSVC compiler when building C++ projects.
CLang++ is not G++ but probably it's linux-flavoured enough to make you feel at home.
Upvotes: 1
Reputation: 1
(preferably in visual studio) if it is possible?
Don't think so, not with Visual Studio (never tried though). Use Eclipse CDT, it will support VS (microsoft's compiler toolchain) the other way round.
Most open toolchain to use for native windows builds is MinGw IMHO.
Upvotes: 0