In the 64-bit system, after writing a C language program, when compiled with gcc, there has been an error as follows:
test.c: 1: 19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
For the above cases, for the general problem does not appear in the 32 environment, as it has been the libc header files included in the system, then for such a situation, the main check whether the installation of a complete development environment:
build-essential package - Installs the following collection to compile c/c++ program on Debian/Ubuntu Linux:
这个包中主要包括了以下的包:
libc6-dev - C standard library.
gcc - C compiler.
g++ - C++ compiler.
make - GNU make utility to maintain groups of programs.
dpkg-dev - Debian package development tools.
Enter the following command line can be installed in order:
the sudo the install APT-GET Build-Essential (command solution)
It may be a single installation package, such as:
the sudo the install APT-GET-dev libc6
Refrence:
http://www.cyberciti.biz/faq/debian-linux-install-gnu-gcc-compiler/