Skip to main content Skip to navigation

Part Two - Installing GCC

  1. Make sure that you are not running Cygwin
  2. Run Cygwin setup again
  3. Click on "Next" until you reach the "Select Packages" screen
  4. Find the "Devel" (development) entry (about fifth down), and click on the text "Default" which should change to say "install"

    Screenshot

  5. Click on the next button, and let Cygwin download and install the development tools
  6. This will take a while, have a cup of tea.
  7. Once setup is finished, run Cygwin again, and type "g++ -v" to confirm the GCC C++ compiler is installed. This should come up with some version information text.

    Screenshot

  8. You can also access the compiler from the Windows Command line ("DOS Screen"). Start menu, run, and type in "cmd". In the black window (windows command line or Dos screen) that appears, type "g++ -v" and enter. This should come up with the same version information text.

    Screenshot


Next up, Testing the GCC C++ Compiler.