$ 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?
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.
Open setup.
Select Category.
Open the Devel section.
Install the package cygwin-devel
It could be this one
setup-x86_64.exe
.Cygwin Setup - Select Packages
window.Full
in View
.gcc
in Search
.gcc-core
row in Package
column and change Skip
to the required version.g++
in Search
.gcc-g++
row in Package
column and change Skip
to the required version.apt-cyg install gcc-core
https://cygwin.com/packages/x86_64/gcc-core/
you must install apt-cyg command utility:
setup-x86_64.exe --no-admin