Difference between revisions of "MinGW installation"
Line 1: | Line 1: | ||
[[Category:User Documentation]] | [[Category:User Documentation]] | ||
==Using the MinGW installer== | ==Using the MinGW installer== | ||
− | Adwise: Use this installer if possible. It does not work on Windows Vista, follow the [[MinGW_installation#GCC_3.4.2_manual_install | manual installation instructions (stable MinGW!)]]. | + | Adwise: Use this installer if possible. It does not work on Windows Vista, follow the [[MinGW_installation#GCC_3.4.2_manual_install | manual installation instructions (stable MinGW!)]]. (MinGW is not confirmed to work for any Windows Vista betas or RCs) |
MinGW Installer 5.02 allows to choose the SF mirror while 5.03 does not (automatically picks one randomly). | MinGW Installer 5.02 allows to choose the SF mirror while 5.03 does not (automatically picks one randomly). |
Revision as of 21:14, 20 September 2006
Using the MinGW installer
Adwise: Use this installer if possible. It does not work on Windows Vista, follow the manual installation instructions (stable MinGW!). (MinGW is not confirmed to work for any Windows Vista betas or RCs)
MinGW Installer 5.02 allows to choose the SF mirror while 5.03 does not (automatically picks one randomly). Either installer allows to downloads/installs "previous", "current" and "candidate" mingw packages.
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.1 and MinGW-5.0.2 are to be considered "alpha".
GCC 3.4.5 manual install
This is the "candidate" release of MinGW, so it is not considered "stable" officially.
Personally, I have not had any kind of problem with this release.
Base system with C++
- http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-1.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/gcc-g++-3.4.5-20060117-1.tar.gz?download
- http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/w32api-3.6.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/binutils-2.17.50-20060824-1.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/mingw32-make-3.81-1.tar.gz?download
Optionally:
Fortran77 compiler
gdb debugger
Other developer tools
Ports of the most often used Unix utilities. Note that some tools in UnxUtils are quite a bit outdated, so make sure you do not overwrite already existing MinGW files with their UnxUtils counterparts:
More recent versions of commonly used utilities and utilities not found in UnxUtils:
- coreutils-5.3.0
- zip-2.31
- tar-1.13-1
- gzip-1.3.5
- bzip2-1.0.0-1
- autoconf-2.59
- automake-1.9.4
- bison-2.1 (includes m4)
- flex-2.5.4a
- gperf-3.0.1
- diffutils-2.8.7
- patch-2.5.9-6
- grep-2.5.1
- sed-4.1.4
- hextools-1.0
- findutils-4.2.20
- less 3.94
- wget-1.9.1
- gettext-0.14.5
- gettext-dev-0.14.5
Dependencies:
- pcre-6.4.1 (needed by grep and less)
- libintl-0.14.4 (needed by most tools)
- libiconv-1.9.2-1 (needed by most tools)
Resulting Folder Layout
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 either the 3.4.5 or 3.4.2 releases until a build from the 4.x branch is available.
Personally, I have not had any kind of problem with either 3.4.4 or 3.4.5.
Base system with C++
- http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.4-20050522-1.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/gcc-g++-3.4.4-20050522-1.tar.gz?download
- http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download
- http://prdownloads.sf.net/mingw/w32api-3.5.tar.gz?download
- http://prdownloads.sf.net/mingw/binutils-2.17.50-20060824-1.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/mingw32-make-3.80.0-3.tar.gz?download
Optionally:
gdb debugger
Objective-C
Native Java (experimental)
Fortran-77
Ada
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++
- http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.2-20040916-1.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/gcc-g++-3.4.2-20040916-1.tar.gz?download
- http://prdownloads.sf.net/mingw/mingw-runtime-3.9.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download
- http://prdownloads.sf.net/mingw/w32api-3.5.tar.gz?download
- http://prdownloads.sf.net/mingw/binutils-2.16.91-20050827-1.tar.gz?download
- http://prdownloads.sourceforge.net/mingw/mingw32-make-3.80.0-3.tar.gz?download