[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GCC don't work.



Hi:
 
  I use gcc to build some simple program like this
 
// aa.c
#include <stdio.h>
main()
{
printf("hello");
}
 
gcc report a error:
aa.c:1: stdio.h: No sch file or directory.
 
//bb.c
main()
{
}
 
gcc report a error:
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status.
 
which package missing?
Thanks.

Reply to: