Re: gcc not properly installed - cannot find libraries

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

 



FlaDude1 wrote:

> When I try to compile a simple file (Hello World) this is what I get:
> # gcc -o b.out test.c
> test.c:1:22: error: stdio.h: No such file or directory

It seems like you installed the compiler but not the C library
development package.  stdio.h is part of the libc and isn't part of
gcc.  You probably want "yum install glibc-devel" or whatever your
distro has called the package.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux