C compiler not working correctly.
Asked by
baseballjw
I keep trying to compile a simple program using the gcc compiler. It won't work. I specifically type in: gcc -o hello hello.c. I get an error reading:
hello.c:2:19: error: stdio.h: No such file or directory
hello.c:4:19: error: stlib.h: No such file or directory
hello.c: In function ‘main’:
hello.c:8: warning: incompatible implicit declaration of built-in function ‘printf’
This does not make any sense to me. Please help me out. Thanks for the help in advance.
James
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask baseballjw for more information if necessary.
To post a message you must log in.