Install linux Gcc Compiler on MS-Windows useing Cygwin 11-30-2012, 11:01 AM
#1
Install linux Gcc Compiler on MS-Windows useing Cygwin
What is Cygwin ?
Cygwin is free software that provides a Unix-like environment and software tool set to users of any modern version of MS-Windows for x86 CPUs (NT/2000/XP/Vista/7) and (using an older version of Cygwin) some obsolete versions (95/98/ME) as well.
Cygwin consists of a Unix system call emulation library, cygwin1.dll, together with a vast set of GNU and other free software applications organized into a large number of optional packages.
Among these packages are high-quality compilers and other software development tools, a complete X11 development toolkit, GNU emacs, TeX and LaTeX, OpenSSH (client and server), and much more, including everything needed to compile and use PhysioToolkit software under MS-Windows.
Cygwin does not provide a means for running GNU/Linux or other Unix binary executables under MS-Windows. In order to run such software using Cygwin, that software must be compiled from its sources. Cygwin provides all of the components needed to do this in most cases; most POSIX-compliant software, including X11 applications, can easily be ported to MS-Windows using Cygwin.
Running the Cygwin installer :
1: Download setup.exe (Link: http://cygwin.com/setup.exe)
2: A window titled Cygwin Net Release Setup Program appears. Click Next to get started.
![[Image: 348h6ao.png]](http://i48.tinypic.com/348h6ao.png)
3: Choose A Download Source: Accept the default ("Install from Internet") and click Next.
![[Image: 1zx1k.png]](http://i46.tinypic.com/1zx1k.png)
4: Select Root Install Directory: Accept the defaults ("C:/cygwin", All Users, Unix) and click Next.
![[Image: yndli.png]](http://i46.tinypic.com/yndli.png)
Important: The default root directory for Cygwin applications is C:/cygwin.
Change it if you wish (using '/' rather than '\' as a directory separator, as shown)`, but do not choose a location
that contains spaces anywhere in its path name.
All files installed by the Cygwin installer go into this directory; to uninstall Cygwin at a later date,
simply remove this directory and all of its contents.
5:Select Local Package Directory: Accept the default or change it to any temporary directory of your choice, but make a note of it.
![[Image: v7fnmr.png]](http://i45.tinypic.com/v7fnmr.png)
6:Select Your Internet Connection: The default should be correct for most users. Change it only if you encounter problems.
![[Image: 312twnp.png]](http://i50.tinypic.com/312twnp.png)
7:Choose A Download Site: Select a nearby mirror site from which to download the Cygwin packages. Speeds may vary considerably from site to site.
8:Select Packages: To Install Compiler we must install Packages under "DEVEL" called : "gcc-core : C Compiler" , "gcc-g++ :C++ Compiler and "gdb : The GNU Debugger"
![[Image: 357oyvr.jpg]](http://i45.tinypic.com/357oyvr.jpg)
9: Done click next and it will install and after install click Finish
![[Image: 317jitl.png]](http://i46.tinypic.com/317jitl.png)
10: Now we will have an desktop Icon called "Cygwin" .
What is Cygwin ?
Cygwin is free software that provides a Unix-like environment and software tool set to users of any modern version of MS-Windows for x86 CPUs (NT/2000/XP/Vista/7) and (using an older version of Cygwin) some obsolete versions (95/98/ME) as well.
Cygwin consists of a Unix system call emulation library, cygwin1.dll, together with a vast set of GNU and other free software applications organized into a large number of optional packages.
Among these packages are high-quality compilers and other software development tools, a complete X11 development toolkit, GNU emacs, TeX and LaTeX, OpenSSH (client and server), and much more, including everything needed to compile and use PhysioToolkit software under MS-Windows.
Cygwin does not provide a means for running GNU/Linux or other Unix binary executables under MS-Windows. In order to run such software using Cygwin, that software must be compiled from its sources. Cygwin provides all of the components needed to do this in most cases; most POSIX-compliant software, including X11 applications, can easily be ported to MS-Windows using Cygwin.
Running the Cygwin installer :
1: Download setup.exe (Link: http://cygwin.com/setup.exe)
2: A window titled Cygwin Net Release Setup Program appears. Click Next to get started.
![[Image: 348h6ao.png]](http://i48.tinypic.com/348h6ao.png)
3: Choose A Download Source: Accept the default ("Install from Internet") and click Next.
![[Image: 1zx1k.png]](http://i46.tinypic.com/1zx1k.png)
4: Select Root Install Directory: Accept the defaults ("C:/cygwin", All Users, Unix) and click Next.
![[Image: yndli.png]](http://i46.tinypic.com/yndli.png)
Important: The default root directory for Cygwin applications is C:/cygwin.
Change it if you wish (using '/' rather than '\' as a directory separator, as shown)`, but do not choose a location
that contains spaces anywhere in its path name.
All files installed by the Cygwin installer go into this directory; to uninstall Cygwin at a later date,
simply remove this directory and all of its contents.
5:Select Local Package Directory: Accept the default or change it to any temporary directory of your choice, but make a note of it.
![[Image: v7fnmr.png]](http://i45.tinypic.com/v7fnmr.png)
6:Select Your Internet Connection: The default should be correct for most users. Change it only if you encounter problems.
![[Image: 312twnp.png]](http://i50.tinypic.com/312twnp.png)
7:Choose A Download Site: Select a nearby mirror site from which to download the Cygwin packages. Speeds may vary considerably from site to site.
8:Select Packages: To Install Compiler we must install Packages under "DEVEL" called : "gcc-core : C Compiler" , "gcc-g++ :C++ Compiler and "gdb : The GNU Debugger"
![[Image: 357oyvr.jpg]](http://i45.tinypic.com/357oyvr.jpg)
9: Done click next and it will install and after install click Finish
![[Image: 317jitl.png]](http://i46.tinypic.com/317jitl.png)
10: Now we will have an desktop Icon called "Cygwin" .

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)