[cfe-commits] [PATCH] clang: Add 32/64bit library search paths for Linux

Daniel Dunbar daniel at zuster.org
Wed Aug 5 18:49:54 PDT 2009


Hi Carl,

Thanks for the patch, applied as r78272 (with a small formatting tweak
to put the comment preceding the code it refers to).

 - Daniel

On Wed, Aug 5, 2009 at 5:33 AM, Carl-Daniel
Hailfinger<c-d.hailfinger.devel.2006 at gmx.net> wrote:
> Linux distributions have various library search paths which vary across
> distributions. /lib and /usr/lib/ are either 32 bit or 64 bit, depending
> on whether you run something from the Debian family or openSUSE/RedHat
> family.
> /lib32 and /usr/lib32 exist in some distributions (usually those which
> have /lib for 64 bit code, e.g. Debian on x86_64).
> /lib64 and /usr/lib64 exist in other distributions (usually those which
> have /lib for 32 bit code, e.g. openSUSE on x86_64).
>
> Add all those paths to the default clang library search path.
>
> This fixes Bug 4140 for x86-64 non-Debian distributions and for 32 bit
> compilation on x86-64 Debian.
>
> This is my first patch, so I appreciate feedback about what I can improve.
>
> The patch is against cfe trunk.
>
> Regards,
> Carl-Daniel
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>



More information about the cfe-commits mailing list