gccのコンパイルができない

コンパイル

gccはデフォルトで入ってるけどコンパイルできない。
以下のコマンドを叩いて,libc6-devを入れると出来る。

$ sudo apt-get install libc6-dev

* libc6-devとやらが入ってないと…

$ gcc hello.c
hello.c:6:19: error: stdio.h: No such file or directory
hello.c: In function ‘main’:
hello.c:10: 警告: incompatible implicit declaration of built-in function ‘printf’

こんな感じのエラーが出るはず...