gcc with Debian on amd64
I just installed the latest amd64 netboot on my Sun
SunFire V20z, and I tried to compile a simple C program:
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");
return (0);
}
madden@debian:~$ gcc -o hello hello.c
hello.c:1:19: stdio.h: No such file or directory
I have the following gcc packages installed:
madden@debian:~$ dpkg -l | grep gcc
ii gcc 3.3.5-1 The GNU C compiler
ii gcc-3.3 3.3.5-5 The GNU C compiler
ii gcc-3.3-base 3.3.5-5 The GNU Compiler Collection (base package)
ii libgcc1 3.4.3-6 GCC support library
Did something go wrong with the initial install or do
I just need to install something else?
Thanks,
Mike
Reply to: