[cfe-dev] compiling C++ with clang++

Rafael Espindola espindola at google.com
Tue Mar 2 18:35:43 PST 2010


> are these the relevant paths?
>
>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4
>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4/x86_64-pc-linux-gnu
>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4/backward
>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include
>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include-fixed
>
> How do I tell clang where these live?

Take a look at the configure options:

--with-c-include-dirs
--with-cxx-include-root
--with-cxx-include-arch
--with-cxx-include-32bit-dir
--with-cxx-include-64bit-dir

> Salman

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the cfe-dev mailing list