Installation Instructions for MinGW

braintreesmileSoftware and s/w Development

Aug 15, 2012 (4 years and 10 months ago)

354 views

Installation of NetBeans

1.

The NetBeans C/C++ Bundle can be downloaded at

http://netbeans.org/downloads/index.html
.
The size of the download is 49 MB

2.

Follow the instructions and leave all the defaults




Installation Instructions for MinGW

and MSYS

and the
Debugger

These are the compiler related software that NetBeans uses to compile C Programs as
a compiler is not built
-
in by default


Installation of MinGW

1.

Go to the following URL to download MinGW

a.

http://sourceforge.net/projects/mingw/files/Installer/mingw
-
get
-
inst/


b.

Click on the link to get the latest version





2.

When the .exe file is finished Downloading double c
lick on it to install and click
Next >



3.

If you get the following screen, click Next >




4.

Select Use pre
-
packaged repository catalogues



5.

Accept the agreement




6.

Please leave the Default C:
\
MinGW and click Next >




7. Click Next> for the start menu f
older




8.

When selecting components,
Check ALL
except Fortran Compiler




9.

Click the Install button

(Ignore my D:
\
MinGW path below. Install to C:
\
MinGW)




10.

You should see a command line screen when it is installing




11.

When it is completed, you should see

the following screen





12.

The last step is to add the path to the MinGW bin directory to the PATH
environment variable string







Installation of MSYS


1.

Go to the following URL
http://www.mingw.org/wiki/MS
YS

and click on the
MSYS 1.0.11 link




2.

The next set of screen should be easy to follow










Leave the path as C:
\
msys
\
1.0





**Please ignore D:
\
msys
\
1.0 as I have installed it on my D: drive. You will see a
confirmation for C:
\
msys
\
1.0



Yo
u will see the following screen after install




Type n and press Enter.


Installation of the Debugger

1.

Go to the following url and download the
gdb
-
6.8
-
mingw
-
3.tar.bz2

file

http://sourceforge.net/projects/mingw/files/MinGW/Extension/gdb/Release%20Candi
date_%20GDB%206.8
-
3/gdb
-
6.8
-
mingw
-
3.tar.bz2/download



2.

You have to
use
WinZip/WinRAR to unzip this file
. When
you look at the
contents of the zip you should see the following structure




When you unzip the file, unzip it to the C:
\
MinGW directory so that the contents of the
zip will overlay/overwrite some of the files in that existing directory structure. You wi
ll
notice that C:
\
MinGW also contains a bin and include folder etc like below. So
essentially the contents of this zip will be adding files to the existing C:
\
MinGW folder
structure






That is it! All should be now completed.