[cfe-dev] Clang 3.1: Can't link Hello World-program program on Linux
Howard Hinnant
hhinnant at apple.com
Fri Mar 2 07:11:15 PST 2012
On Mar 2, 2012, at 4:44 AM, David Chisnall wrote:
> On 2 Mar 2012, at 08:30, Alexander Korsunsky wrote:
>
>> "-ldl -lcxxrt --stdlib=libc++" to every compile.
>
> You shouldn't need to do this, just link libc++ against libcxxrt (which should link against libdl on Linux).
There is also now a llvm equivalent to libcxxrt here:
http://libcxxabi.llvm.org/
Howard
More information about the cfe-dev
mailing list