Cygwin installation on windows Operating system with NetBeans IDE integration

Description

  • Cygwin is a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
  • A DLL (cygwin1.dll) which provides substantial POSIX API functionality.
  • The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, starting with Windows XP SP3.
  • This we are using this compiler we can Get that Linux feeling - on Windows.

Installation instructions

  • For installation of Cygwin we need following software...

  •  In order to install software first we need to install Cygwin 
  • Run setup.Exe and click on Next

  • Chose Download source install from local Directory 

  • Click here to Download resource file and place on Desktop of your system.
  • Chose install directory to default location i.e. C:\cygwin click on Next.

  • Click Browse button from local package directory dialog box.

  • Select local package directory to cygwin directory witch is placed on desktop. 

  • Click on Next Button.

  • In the select packages window, go down the list and expand ‘Devel’ 
  • You need to install the following packages by clicking on the circle with the arrows (it should turn from ‘skip’ to a version number):  
          • gcc-core: C compiler
          • gcc-g++: C++ compiler
          • gdb: The GNU debugger
          • make: The GNU version of the ‘make’ utility




  • Click next and wait until all packages are installed.  Click finish when this is done.
  • We need to add the cygwin compiler directory to your path to enable NetBeans IDE to find the tools collection.
      • Open the Control Panel and double click on 
        system.

      • Click on Advanced system settings.

      • Select the Advanced tab and click Environment Variables.

      • In the System Variables panel of the Environment Variables dialog, select the Path variable and click Edit.

      • Add the path to the cygwin-directory\bin directory to the Path variable, and click OK.

      • By default, cygwin-directory is C:\cygwin. Directory names must be separated with a semicolon. Your edited path should look something like %SystemRoot%\system32;%SystemRoot%;C:\cygwin\bin 
      • Click OK in the Environment Variables dialog and the System properties dialog.
  • You will need the Java Run time Engine (JRE) installed as well but this is usually already installed on Windows machines. 
  • Run the NetBeans installer using all the default settings. 

    0 comments:

    Post a Comment