This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help: can't find Header Files
- To: "Nathaniel Black" <mutethia at hotmail dot com>
- Subject: Re: Help: can't find Header Files
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 20 Dec 2000 00:40:19 -0200
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <F117KSwxPm77c9BViou00002e36@hotmail.com>
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