Best C++ Environment For Mac

Posted By admin On 16.02.22
  1. Best C++ Environment For Mac
  2. Turbo C++ Environment
  3. C++ Environment For Linux
  4. C++ Programming
  5. Best C++ Environment For Windows 10
  6. C++ Environment Variables

If you are looking for a great IDE I have prepared a list of Best c++ ide for windows, mac, and Linux. Chose your IDE according to your level for example as a beginner you just have to write console application all you need is a simple, lightweight IDE. C integrated development environment free download - Axiomatic Multi-Platform C, ActiveDeveloper, Aqua Data Studio, and many more programs. C integrated development environment free download. Mar 10, 2008  Hi. I want to know which is the 'best'(?)/most popular C++ IDE for Mac OS X (Leopard is what I am using). Simple answers please, in laymans terms.

Active2 years, 10 months ago

Basically I want to compile C/C++ using the GCC on Windows. The two competing platforms, as i see it, are MinGW and Cygwin. Each have their own benifits and limitations. MinGW compiles for Windows, whereas Cygwin needs the cygwin .dll. However installing libraries on MinGW is difficult, whereas on cygwin it's easier, using the setup.exe as a 'package manager'.

My question is what's the best way to compile on Windows. Would it be better to use MinGW and struggle with libraries (in which case is there an easy way of installing libraries on MinGW). Or should I use Cygwin, if so how do I get it to compile without needing the cygwin .dll, effectively compile for normal Windows.

Best C++ Environment For Mac


9 Answers

The easiest and best way to compile on windows is to use visual studio express. It is free. A good reason for using cygwin is for cross platform builds. A good reason to use gcc is it supports some compiler candy the Microsoft compiler doesn't.

But all in all VC++ Express is the way to go for windows only development.

Byron WhitlockByron Whitlock
40.8k23 gold badges108 silver badges157 bronze badges

There is always the option of using -mno-cygwin with Cygwin to compile against Windows libraries like MinGW does:

It's not an easy choice and mainly depends on how much you will rely on other libraries. Cygwin really adds an additional layer, which is heavier but 'emulates' the Linux environment better than MinGW.


Qt Creator allows you to compile with MinGW on Windows (and gcc on Linux, ...), has an IDE that makes debugging more friendly than gdb. If you need libraries, you still have the option of using the Qt libraries. That would be a good alternate solution to the Visual Studio if you really want to stick to gcc for future portability.

9,5805 gold badges28 silver badges43 bronze badges

You might want to look at CodeBlocks. It is generally used to build WxWidgets apps, but it wraps MinGW nicely.

4,8437 gold badges56 silver badges84 bronze badges

Actually, there's option #3: if your edition of Windows permits it, you can install Microsoft Services For Unix / Subsystem for Unix Applications, and then get gcc from SUACommunity. It has a package manager, too. Of those 3 options, this will give you behavior closest to a true Unix system.

However, the resulting applications aren't Win32 applications; they're SUA applications, and will require SUA to run. If you write code for yourself, it's usually not a problem if you write code for yourself, but if you want to write and distribute a proper Windows application, I would suggest staying away from anything that tries to emulate Unix, so MinGW it is.

Pavel MinaevPavel Minaev

Turbo C++ Environment

87.3k23 gold badges198 silver badges269 bronze badges

C++ Environment For Linux

Qt Creator comes with MinGW as standard and can be used to build projects that don't actually use the Qt framework.

4,1479 gold badges37 silver badges53 bronze badges
40.8k46 gold badges146 silver badges188 bronze badges

There's an easy to install MinGW wrapped GCC at 'Programming Tools' then 'Fortran, C, C++', download the release you prefer, install and use.

87.4k10 gold badges102 silver badges175 bronze badges

One possible method is to use CMake which can build Visual Studio project from your sources and then compile from Visual Studio. It can build project for other IDEs too, so you can go cross platform.

C++ Programming


I think the answer depends on whether you intend to use libraries or compile programs that are targeted to POSIX or a POSIX-based target. That's what Cygwin is intended for, while MinGW is more intended for compiling Windows-targeted programs using GCC.

Michael Burr

Best C++ Environment For Windows 10

Michael Burr
290k41 gold badges451 silver badges685 bronze badges

Another option is TDM MinGW:

It's basically an unofficial fork of MinGW with the latest GCC compiler available for both 32- and 64bit windows machines. Even some MinGW developers themselves use it.

Equation Gcc is even better:


C++ Environment Variables

Not the answer you're looking for? Browse other questions tagged c++cwindowscygwinmingw or ask your own question.