Cygwin installed Windows 10, filepath updated, but gcc -v and cygcheck -c cygwin do not work in cmd/ terminal

0

Cygwin installed on Windows 10, filepath updated, but gcc -v and cygcheck -c cygwin do not work in cmd/ terminal. I'm just trying to get started writing C and FORTRAN programs and I've spent 75 minutes trying to get an answer and nothing is working. My filepaths look identical (as best I can tell; it's pretty simple C:\cygwin64\bin;) to examples on Netbeans, Stack Overflow, Oracle, and many, many other helpful pages. UPDATE: Suggestions are that I follow an answer for Windows XP (really, Stack Overflow, really?). Well, I tried to follow the original answer: SETX path c:\cygwin;c:\cygwin\bin;%path%- that didn't work Then I changed it to SETX path c:\cygwin64\bin;%path%, since my directory address is c:\cygwin64\bin I'm not a systems programmer. I'm trying to learn C and FORTRAN and eventually C++ so I can pay more child support and maybe actually contribute something cool to the world. All I want to do is be able to access the C libraries so I can run a printf("Hello world!") and start running. Any help would be appreciated. Surely this is a one or two line fix.

user1086906

Posted 2019-09-09T19:13:53.330

Reputation: 1

3

Possible duplicate of How can I add cygwin/bin to the search path in Windows XP?

– Biswapriyo – 2019-09-09T19:35:44.490

No answers