Help: can't find Header Files

Alexandre Oliva aoliva@redhat.com
Tue Dec 19 18:40:00 GMT 2000


On Dec 19, 2000, "Nathaniel Black" <mutethia@hotmail.com> wrote:

> The file exists in the include directory of glibc, but the compiler
> is only looking in the /usr/include directories, not the
> (xxx)/glibc.../include directories.

Which is the correct behavior for a compiler configured with
--prefix=/usr

> How do I make it look in both by default?

You'd have to change the specs file.  But you'd probably be better off
creating links from (xxx)/glibc.../include/* to /usr/include

> Or is it better/safe to move all the files into one directory?

Even better.  I suppose a `make install' in glibc, also configured
with a `/usr' prefix, would get them installed in the right place.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Gcc-help mailing list