gcc cygwin install helloworld          



install GCC with Cygwin on Windows 10 is easy

Download the Cygwin Setup Program
- Visit the official Cygwin website at [https://cygwin.com/](https://cygwin.com/).
- Download the appropriate setup program for your system (either `setup-x86.exe` for 32 - bit Windows or `setup-x86_64.exe` for 64 - bit Windows).

 Run the Setup Program
- Double - click the downloaded setup program to start the installation process.
- On the first screen, select "Install from Internet" and click "Next".
- Choose the installation directory where you want to install Cygwin. It's recommended to use the default directory unless you have a specific reason not to. Click "Next".
- Select the local package directory. This is where the setup program will download the Cygwin packages. You can use the default or choose a different location. Click "Next".
- Choose your Internet connection type. If you are using a direct connection, select "Direct Connection". If you are behind a proxy, select the appropriate option and provide the proxy details. Click "Next".
- Select a mirror site from which the setup program will download the packages. You can choose a mirror close to your location for faster downloads. Click "Next".

Select Packages to Install
- In the "Select Packages" window, you will see a list of categories.
- Expand the "Devel" category.
- Look for "gcc - core" and "gcc - g++". By default, these packages are set to "Skip". Click on "Skip" next to each of these packages until the version number appears. This indicates that the package will be installed.
- You can also install other development - related packages like "make", "binutils" if you need them for your projects.
- After selecting all the required packages, click "Next".

Download and Install Packages
- The setup program will now download and install the selected packages. This may take some time depending on your Internet speed and the number of packages you are installing.
- Once the installation is complete, click "Finish".

Verify the Installation
- Open the Cygwin terminal. You can find it in the Start menu under the Cygwin folder.
- In the terminal, type the following commands to check the installed GCC version:
```bash
gcc --version
g++ --version
```
If the installation was successful, these commands will display the version information of GCC and G++.