where gcc installed in linux code example
Example 1: install gcc in ubuntu
$ sudo apt install build-essential
Example 2: install gcc on command prompt
C:\cygwin64>setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel