6. Borland C++ Compiler (Free) Borland C++ is a free C++ Compiler for Windows. This package has compiler binaries, including libraries, but lacks an IDE, which means you will need to use an editor and shell commands. This compiler is updated with the free Embarcadero C++ Compiler. Step 4: Set up environment variable for MinGW. Once the MinGW setup is complete and the gcc and g++ compiler packages are installed, you must set the PATH variable for your computer. Go to Control Panel → System and Security → System or right-click on This PC → Properties. Click on Advanced system settings. It opens System Properties.