Notes
This is a short guide on how to install MinGW and MSYS using the latest stable. This guide has been updated on 21/12/2011
Requirements
- The MinGW installer package (mingw-get-inst-20111118.exe).
- Java Runtime Environment (JRE 6, update 30)
- Eclipse (Eclipse IDE for C/C++ Developers, select 32bit or 64bit depending on your JRE)
Installing the MinGW and Msys
- Run mingw-get-inst-20111118.exe
- Choose “Download latest repository catalogues”

- Accept the license agreement
- Use the default folder (C:\MinGW)
- When asked to select the components, choose: C Compiler, C++ Compiler, MSYS Basic System and MinGW Developer Toolkit.

- Add C:\MinGW\bin;C:\MinGW\msys\1.0\bin; to your PATH system variables (at the beginning).
- Done.
Check if your PATH system variables look something like this:
Install the IDE
- Install the JRE with the default settings
- To install eclipse, unzip the content to C:\Program Files\eclipse
- Create a shortcut to Eclipse.exe on the desktop
- Done.
Creating a HelloWorld Project
- Open up Eclipse
- File > New > Project
- Select C/C++ > C++ Project
- Click on Next
- Change project name to “Hello World”
- Click on Hello World C++ Project (Toolchain should show MinGW GCC)
- Click Finish
- Run > Run (or press CTRL-F11)
- The Console (at the bottom) should show !!!Hello World!!!
- You’re all set.


Why is the jdk required?
12 May 2010 |
Actually, that’s my mistake, the Java runtime should be enough (It’s for Eclipse)
12 May 2010 |
Have you compiled new OSG version 3.0.1 with MinGW ? do you have binariers ?
23 Sep 2011 |
Haven’t tried it yet, but I think the procedure should be the same.
12 Oct 2011 |