$ uname -r
2.9.0(0.318/5/3)
I don't have the gcc or the g++ command on my path after I install cygwin. What packages do I need to install to get this command?
To get the Cygwin installer, go to the Cygwin install web page: https://cygwin.com/install.html. You need to download the setup-x86_64.exe file, see the figure 1 for it's location within the download page. Download and run the setup-x86_64.exe file.
In dialog "Cygwin Setup - Choose Installation Directory" you should select root directory in wich CygWin has been installed & press Next, and again, and again & again. Your will see dialog "Cygwin Setup - Select Package", in the "View" combobox you should select "Full", and in the "Search" edit you should enter "gcc".
Ok.
$ cygcheck -p bin/gcc
Found 8 matches for bin/gcc
gcc-core-6.4.0-1 - gcc-core: GNU Compiler Collection (C, OpenMP)
gcc-core-6.4.0-2 - gcc-core: GNU Compiler Collection (C, OpenMP)
gcc-core-6.4.0-3 - gcc-core: GNU Compiler Collection (C, OpenMP)
...
so you need to install the gcc-core package.
https://cygwin.com/packages/x86_64/gcc-core/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With