eclipse : 'gcc' is not recognized as an internal or external command,

Viewed 36

I am currently trying to make Eclipse suitable for C coding

I follow these guides https://www3.ntu.edu.sg/home/ehchua/programming/howto/eclipsecpp_howto.html

https://semicolon.dev/tutorial/webdev/mingw-file-downloaded-incorrectly

#include <stdio.h>
#include <stdlib.h>

int main(void) {
    puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
    return EXIT_SUCCESS;
}

I get the following errors instead of well hello world text. But I check and gcc is installed

11:40:18 **** Incremental Build of configuration Debug for project aa ****
make all 
'Building file: ../src/aa.c'
'Invoking: Cygwin C Compiler'
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/aa.d" -MT"src/aa.o" -o "src/aa.o" "../src/aa.c"
'gcc' is not recognized as an internal or external command,
operable program or batch file.
make: *** [src/aa.o] Error 1
"make all" terminated with exit code 2. Build might be incomplete.

11:40:18 Build Failed. 1 errors, 0 warnings. (took 331ms)
0 Answers
Related