


Go to the CygWin site and follow the directions to download and then run the CygWin installer program. This can cause some confusion when Windows programs (e.g., Eclipse) need to talk to Cygwin programs (e.g., g++ or gdb).The Windows directory C:\Users\yourName\projects would be, in Cygwin, /cygdrive/c/Users/yourName/projects. For example, if you are working in a project directory with source code contained in a cpp directory within an outer src directory, in Windows you would access this source code as src\cpp\, but in Cygwin this would be src/cpp.Ībsolute paths are trickier. You can do most of your work in Windows, but still have the option of stepping into a CygWin bash window for command-line operations.This document will walk you through setting up a Windows/Cygwin programming environment using: * the Eclipse IDE running natively on Windows, * Java running natively on Windows, and * g++, make and gdb in CygWin. From a practical point of view, Cygwin allows a Windows PC to run the bash shell with most of the common Unix commands, as well as Technically, CygWin provides a “POSIX” layer (POSIX being a standard for providing compatability between operating systems). Since the mid 1990’s, Cygwin has provided a powerful environment for porting Unix programs into the Windows world.
