This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: --with-sysroot demands /usr/include?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Daniel Kegel <dank at kegel dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 12 Jan 2004 19:57:29 -0200
- Subject: Re: --with-sysroot demands /usr/include?
- Organization: GCC Team, Red Hat
- References: <4003083B.7000305@kegel.com>
On Jan 12, 2004, Daniel Kegel <dank@kegel.com> wrote:
> I couldn't see any way to tell gcc's configure where to look
> inside the sysroot for include files. Is it true that one
> simply must put the include files in $sys_root/usr/include when
> using --with-sysroot, or did I miss something obvious?
If a non-sysroot compiler would have looked in /usr/include, then yes,
the pathname within the sysroot must be $sysroot/usr/include.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year! oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist Professional serial bug killer