[ CS1 common ]
Installing cygwin (with the devel packages)
In short:
- Go to Cygwin.com and click on the install Cygwin now icon.
- Follow the setup instructions until you come to the list of packages to be installed.
By default cygwin does not install the c++ compiler so make sure you do the following steps below.
- Go down the list of packages that cygwin shows you till you see "devel".
- Next to the package name "devel", you should see an arrows icon and the word "Default"
- Click on the arrows icon once and wait - the "Default" should change to "Install"
- Then click on "Next" and wait for cygwin to finish installing
- Follow the instructions below to change the Path environmental variable in Windows.
Installing Eclipse
- Download Eclipse from the Eclipse website
- Unzip eclipse into the directory of your choice.
- Run Eclipse
Installing the Eclipse C/C++ Development toolkit
- Install the CDT extension
- Installing the C/C++ Development Tooling (CDT) extension
is not hard. You can look it up at the eclipse site
(scroll down) and I have cut and pasted the instructions below:
-
To install CDT from the update site,
- in the Eclipse Help menu select
Software Updates and then Find and Install,
- Select Search for new
features to install and click Next.
- Select Callisto Discovery
Site and click Finish.
- Choose Indiana University
(twice),
- then when you see the search results screen and it asks for
which features to install, click on the "+" sign next to "Callisto
Discovery Site" and select "C and C++ Development", and click Next
- Accept the terms in the license agreement and click Next.
- You
should see the "C and C++ Development" package read for
installation. Click "Next" or "Finish" .
- You should notice that eclipse is still in Java mode.
- Select 'Window->Open Perspective->Other...' from the menu to bring up a
list of available perspectives (modes).
- Select the 'C/C++' Perspective.
- You should notice that eclipse is now in C/C++ mode.
- Change the Path variable to include C:\cygwin\bin (Thanks to Mike)
- Start->control Panel.
- Double Click on system
- Click on the "Advanced" tab
- Click on "Environmental Variables"
- Go to the system variables scroll window and select PATH
- Click on "Edit"
- Add ;C:\cygwin\bin to the path variable (Note the ";" before the C: -- each entry in the path is seperated by a ";")