This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: when GCC searches the system include directories, "/usr/include" first, or "usr/lib/gcc/include", "usr/local/lib/gcc/include" first?
- From: "Andi Hellmund" <mail at andihellmund dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 14 May 2010 12:44:11 +0200
- Subject: Re: when GCC searches the system include directories, "/usr/include" first, or "usr/lib/gcc/include", "usr/local/lib/gcc/include" first?
- Reply-to: mail at andihellmund dot com
------------------------ Ursprüngliche Nachricht -------------------------
Betreff: Re: when GCC searches the system include directories,
"/usr/include" first, or "usr/lib/gcc/include",
"usr/local/lib/gcc/include" first?
Von: "Andi Hellmund" <mail@andihellmund.com>
Datum: Fr, 14.05.2010, 12:26
An: "Song Du" <sdu@marvell.com>
--------------------------------------------------------------------------
Just check the -v output of the gcc driver. I'll show you the search
hierarchy, but it should search for at last in /usr/include.
Andi
> Best Regards,
>
> Song Du
>
> Application Processor System Engineering
> Marvell Technology Shanghai Ltd.
>
>
>