Install MingGW and GNUstep for C/C++/Obj-C for Windows

Update an old post.

* mingw-get-inst (MingGW / MSYS)

1. Goto “http://sourceforge.net/projects/mingw/files/“.
2. Download “mingw-get-inst-20111118.exe”, which is a web downloader.
3. Run it to further download MinGW (including “C Compiler”, “C++ Compiler” and “ObjC Compiler”) and “MSYS Basic System”.
4. Install to default “C:\MinGW”.
5. Copy “C:\MinGW\bin\mingw32-make.exe” to “C:\MinGW\bin\make.exe”.

* mingw-get

1. Manually install MingGW / MSYS.
2. Goto “http://sourceforge.net/projects/mingw/files/Installer/mingw-get/“.
3. Download “mingw-get” installer.
4. Extract the files to “C:\MinGW”.
5. Use the mingw-get command to install MinGW as explained in “readme.txt”.
6. Later, use “mingw-get update” to update components.

* GNUstep

1. Goto “http://www.gnustep.org/resources/sources.html“.
2. Dowloand “GNUstep MSYS System” and “GNUstep Core”.
3. Install “GNUstep MSYS System” to default “C:\GNUstep”.
4. Install “GNUstep Core” to default “C:\GNUstep”.
5. It will add path “C:\GNUstep\bin;C:\GNUstep\GNUstep\System\Tools”.

* Eclipse

1. Install Eclipse and CDT plugin from “http://www.eclipse.org/“.
   a) install “Eclipse IDE for Java EE Developers”, and then install CDT plugin.
   b) or install “Eclipse IDE for C/C++ Developers”.
2. if Eclipse is opening while installing “GNUstep” and/or “MinGW”, it must be shutdown and restarted.
   (full restart with shutdown, “File/Restart” is not sufficient.)

* Set path for Eclipse
  For MinGW, set path “C:\MinGW\bin”. Then Eclipse can find “gcc” and “make”.
  If Eclipse is open before path set, it must be closed and restart.

* For C/C++ development with Eclipse CDT

1. Install:
   mingw-get-inst (MingGW / MSYS)
   Eclipse
2. Set path: “C:\MinGW\bin”

* For Objective-C development

1. Install:
   mingw-get-inst (MingGW / MSYS)
   GNUstep
2. Set path: “C:\MinGW\bin;C:\GNUstep\bin;C:\GNUstep\GNUstep\System\Tools”

* For both C/C++ development with Eclipse CDT and Objective-C development

1. Install:
   mingw-get-inst (MingGW / MSYS)
   GNUstep
   Eclipse
2. Set path: “C:\MinGW\bin;C:\GNUstep\bin;C:\GNUstep\GNUstep\System\Tools”

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: