The freeware C++ for the Windows

1 view
Skip to first unread message

Antti Ylikoski

unread,
Jan 11, 2021, 4:58:46 AM1/11/21
to comp-lang-cpp-programming
The below concerns, how to obtain a freeware C++ compiler, for the
Windows OS.


It is commonly known, that the sourceforge.net are a large software
collection:




The software MinGw "The Minimalist GNU for Windows" are a GNU OS
simulator for the Windows environment.  It makes it possible for to
execute the GNU software in the Windows environment.

Here, we consider the gcc and the g++.


Under the Sourceforge net pages, there is the Sourceforge MinGw
implementation.


Load the .exe self loader file, and run it:

mingw-get-setup.exe 

Answer several questions, "yes".  Load:

mingw-base

mingw-gcc

mingw-g++

Also, mingw-fortran ja mingw-ada, are interesting and good ones.

After downloading the SourceForge mingw, see, in which directory the
g++ lives.  Here, in the directory C:\mingw\bin .

Edit the System Variables, and append the variable PATH with the above
mingw\bin directory.


Now you can call the g++ as below:



// Get the files ex6* diction* def*
// Then:
// > g++ ex6.cpp diction.cpp def.cpp
// > .\a.exe
//


Dr Antti Juhani Ylikoski

Helsinki, Finland, the EU



Reply all
Reply to author
Forward
0 new messages