Difference between revisions of "MinGW installation"

From Code::Blocks
Line 1: Line 1:
[[Category:Installation]]
+
[[Category:Installation\Build Instructions]]
[[Category:Compiler]]
 
 
==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]
Line 10: Line 9:
 
'''Both MinGW-4.1.0 and MinGW-5.0.0 are to be considered "alpha".
 
'''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==
 
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.<br />
 
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.<br />
 
To do a manual install, simply download the required files and extract them all into the same directory. For simplicity, I recommend <tt>C:\MinGW</tt>.
 
To do a manual install, simply download the required files and extract them all into the same directory. For simplicity, I recommend <tt>C:\MinGW</tt>.
Line 34: Line 33:
  
  
==gcc 3.4.4 manual install==
+
==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.<br />Personally, I have not had any kind of problem with 3.4.4.
 
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.<br />Personally, I have not had any kind of problem with 3.4.4.
 
===Base system with C++===
 
===Base system with C++===

Revision as of 23:45, 11 April 2006

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