Skip to Main Content Skip to Search
Product Documentation

Installing the Eclipse IDE and Cygwin Debugger

Installing the Eclipse IDE

This section describes how to install the Eclipse IDE for C/C++ Developers and the Cygwin debugger for use with the integration and verification tutorials. Installing and using the Eclipse IDE for C/C++ Developers and the Cygwin debugger is optional. Alternatively, you can use another Integrated Development Environment (IDE) or use equivalent tools such as command-line compilers and makefiles.

  1. From the Eclipse Downloads web page (http://www.eclipse.org/downloads/), download the Eclipse IDE for C/C++ Developers to your C: drive.

    You also need the Eclipse C/C++ Development Tools (CDT) that are compatible with the Eclipse IDE. You can install the CDT as part of the Eclipse C/C++ IDE packaged zip file or you can install it into an existing version of the Eclipse IDE.

    If You Install the CDT...Then...
    As part of the Eclipse C/C++ IDE packaged zip fileGo to step 4
    Into an existing version of the Eclipse IDEGo to step 2

  2. From the Eclipse CDT Downloads page (http://www.eclipse.org/cdt/downloads.php), download the Eclipse C/C++ Development Tools (CDT) that is compatible with your installed version of the Eclipse IDE.

  3. Unzip the downloaded Eclipse CDT zip file. Copy the contents of the directories features and plugins to the corresponding directories in c:\eclipse.

  4. Create the folder c:\eclipse.

  5. Unzip the downloaded Eclipse IDE zip file into c:\eclipse.

  6. On your desktop, create a link to the executable file c:\eclipse\eclipse.exe.

Installing the Cygwin Debugger

  1. From the Cygwin home page (http://www.cygwin.com), download the Cygwin setup.exe file.

  2. Run the setup.exe file. A Cygwin Setup - Choose Installation Type dialog box opens.

  3. Follow the installation procedure:

    • Select the option for installing over the Internet.

    • Accept the default root folder c:\cygwin.

    • Specify a local package folder. For example, specify c:\cygwin\packages.

    • Specify how you want to connect to the Internet.

    • Choose a download site.

  4. In the dialog box for selecting packages, set the Devel category to Install by clicking the selector icon .

  5. Add the folder c:\cygwin\bin to your system Path variable. For example, on a Windows XP system:

    1. Click Start > Settings > Control Panel > System > Advanced > Environment Variables.

    2. Under System variables, select the Path variable and click Edit.

    3. Add c:\cygwin\bin to the variable value and click OK.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS