So I\'m trying to run my first hello world prog written in C. I compiled it in eclipse and get no errors, but when I try to run it I get:
\"This application has fail
Add: ;C\cygwin64\bin to the end of your Windows system PATH variable.
;C\cygwin64\bin
PATH
Also, to compile for use in CMD or PowerShell, you may need to use:
x86_64-w64-mingw32-g++.exe -static -std=c++11 prog_name.cc -o prog_name.exe
(This invokes the cross-compiler, if installed.)