Difference between revisions of "MinGW installation"

From Code::Blocks
(Added picture with folder layout)
Line 1: Line 1:
 
==Using the MinGW installer==
 
==Using the MinGW installer==
 
*[http://prdownloads.sourceforge.net/mingw/MinGW-4.1.0.exe?download MinGW 4.1.0]
 
*[http://prdownloads.sourceforge.net/mingw/MinGW-4.1.0.exe?download MinGW 4.1.0]
This is an installer application which will upon request download the actual packages needed. Note that the installer is currently still a little flakey sometimes.
+
*[http://prdownloads.sf.net/mingw/MinGW-5.0.0.exe?download MinGW 5.0.0]
 +
 
 +
'''Note that the MinGW version number is not related to the actual compiler version. Downloading MinGW 4.1 will not provide gcc 4.1!'''
 +
 
 +
These are merely installer applications which will upon request download and decompress the actual packages needed. At the present time, it is still preferrable to download the packages by hand, as the installers are not production quality.
 +
'''Both MinGW-4.1.0 and MinGW-5.0.0 are to be considered "alpha".
  
 
==gcc 3.4.2 manual install==
 
==gcc 3.4.2 manual install==

Revision as of 19:04, 5 October 2005

Using the MinGW installer

Note that the MinGW version number is not related to the actual compiler version. Downloading MinGW 4.1 will not provide gcc 4.1!

These are merely installer applications which will upon request download and decompress the actual packages needed. At the present time, it is still preferrable to download the packages by hand, as the installers are not production quality. Both MinGW-4.1.0 and MinGW-5.0.0 are to be considered "alpha".

gcc 3.4.2 manual install

Installing MinGW can be quite intimidating the first time because it is not obvious what you have to do. Luckily, it is actually pretty simple.
To do a manual install, simply download the required files and extract them all into the same directory. For simplicity, I recommend C:\MinGW.

Base system with C++

Optionally:

gdb debugger

Objective-C

Native Java (experimental)

Fortran-77

Ada


gcc 3.4.4 manual install

Some people have reported various problems with gcc version 3.4.4, so it may be worth a consideration to use the 3.4.2 version until a build from the 4.0 branch is available.
Personally, I have not had any kind of problem with 3.4.4.

Base system with C++

Optionally:

gdb debugger

Objective-C

Native Java (experimental)

Fortran-77

Ada

Resulting Folder Layout

Lay.png