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

İsmail Dönmez ismail at namtrac.org
Fri Apr 29 00:27:45 PDT 2011


On Fri, Apr 29, 2011 at 8:53 AM, <pageexec at freemail.hu> wrote:

> 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
>
> and on an amd64 userland i use these:
>
>
> --with-cxx-include-root=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include/g++-v4
> --with-cxx-include-arch=x86_64-pc-linux-gnu
> --with-cxx-include-32bit-dir=32
>
>
I do a similar setup for openSUSE FWIW.

Regards,
ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110429/0d68864f/attachment.html>


More information about the cfe-dev mailing list