<font size="2"><font face="tahoma,sans-serif"><br></font></font><br><div class="gmail_quote">On Fri, Apr 29, 2011 at 8:53 AM,  <span dir="ltr"><<a href="mailto:pageexec@freemail.hu">pageexec@freemail.hu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 29 Apr 2011 at 5:35, Óscar Fuentes wrote:<br>
<br>
> Any pointers on how to configure clang for matching gcc's directory<br>
> search list appreciated.<br>
<br>
</div>to avoid related problems on gentoo (i have an amd64 cross compiler installed on a i386<br>
userland) i configure with these:<br>
<br>
--with-cxx-include-root=/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include/g++-v4<br>
--with-cxx-include-arch=i686-pc-linux-gnu<br>
--with-binutils-include=/usr/lib/binutils/i686-pc-linux-gnu/2.21/include<br>
<br>
and on an amd64 userland i use these:<br>
<br>
--with-cxx-include-root=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include/g++-v4<br>
--with-cxx-include-arch=x86_64-pc-linux-gnu<br>
--with-cxx-include-32bit-dir=32<br>
<br></blockquote><div><br>I do a similar setup for openSUSE FWIW.<br><br>Regards,<br>ismail<br> <br></div></div>