what packages icludes stdio.h stdlib.h ....

Michael Schwendt mschwendt at gmail.com
Thu Jan 31 20:26:08 UTC 2008


On 31/01/2008, hicham <hichamlinux at gmail.com> wrote:
> Hello
>  trying to compile a c application
> but I keep getting :
> error: stdio.h: No such file or directory
> error: stdlib.h: No such file or directory
> string.h: No such file or directory
> .... etc

Just for the record, you should not be able to compile any C code at
all, since the GNU C Compiler package "gcc" Requires "glibc-devel",
the package that contains the C standard library files for software
development. They build a set. When installing gcc, glibc-devel is
installed, too. Most likely you did not have "gcc" installed either.
Btw, it's a similar thing with C++, "g++" Requires "libstdc++-devel".




More information about the users mailing list