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

Ted Kremenek kremenek at apple.com
Tue Aug 4 09:56:06 PDT 2009


Hi Carl-Daniel,

The place to send clang patches is cfe-commits, not llvm-commits.   
Please resend your email to that list.

Cheers,
Ted

On Aug 4, 2009, at 7:31 AM, Carl-Daniel Hailfinger 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
>
> -- 
> http://www.hailfinger.org/
>
> < 
> clang_lib_searchpath_3264bit.diff 
> >_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list