Name: Anonymous 2008-01-28 4:59
I installed the gcc package in Debian,
whipped up a file:
hello.c
then in a terminal entered:
then got:
/prog/, how come I fail?
whipped up a file:
hello.c
#include <stdio.h>
main ()
{
printf ("Hello, world!\n");
return 0;
}then in a terminal entered:
gcc hello.c -o hellothen got:
hello.c:1:19: error: stdio.h: No such file or directory
hello.c: In function ‘main’:
hello.c:5: warning: incompatible implicit declaration of built-in function ‘printf’/prog/, how come I fail?