<HTML>
<HEAD>
<TITLE>Re: [cfe-dev] system includes</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I totally missed the --with-c-include-dirs= option, that does what I need.  <BR>
<BR>
Thanks,<BR>
Andy<BR>
<BR>
<BR>
On 2/15/10 4:05 PM, "Rafael Espindola" <<a href="espindola@google.com">espindola@google.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On 15 February 2010 15:45, Diego Iastrubni <<a href="diegoiast@gmail.com">diegoiast@gmail.com</a>> wrote:<BR>
> So you want to lock the directories to the directories of the compiler which<BR>
> bootstrapped clang? Not smart, what happens when you change gcc compiler on<BR>
> your system? clang will fail.<BR>
><BR>
> IMHO, the best solution would be to find it on "standard" paths... maybe add<BR>
> a "--gcc-include-path" parameter or something. What do you think?<BR>
<BR>
Clang's configure (llvm's actually) script already has options to use<BR>
a particular include directory for C or C++. A --copy-gcc=/usr/bin/gcc<BR>
would be an extra convenience for those that just want to build clang<BR>
to work as a system compiler.<BR>
<BR>
Cheers,<BR>
--<BR>
Rafael Ávila de Espíndola<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>