Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ilmainen C++ Windowsiin

10 views
Skip to first unread message

Antti Ylikoski

unread,
Jan 10, 2021, 11:23:24 AM1/10/21
to
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:


https://sourceforge.net/


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.

https://sourceforge.net/projects/mingw/

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



0 new messages