[cfe-dev] Clang on Ubuntu 11.04 (natty) 32 bits

Óscar Fuentes ofv at wanadoo.es
Fri Apr 29 11:36:20 PDT 2011


pageexec at freemail.hu writes:

> On 29 Apr 2011 at 5:35, Óscar Fuentes wrote:
>
>> Any pointers on how to configure clang for matching gcc's directory
>> search list appreciated.
>
> to avoid related problems on gentoo (i have an amd64 cross compiler
> installed on a i386
> userland) i configure with these:
>
> --with-cxx-include-root=/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include/g++-v4
> --with-cxx-include-arch=i686-pc-linux-gnu
> --with-binutils-include=/usr/lib/binutils/i686-pc-linux-gnu/2.21/include

Thanks. Will try using those configuration options.




More information about the cfe-dev mailing list