[cfe-dev] clang cannot find standard template library
echristo at apple.com
Tue Jun 15 15:59:39 CDT 2010
On Jun 15, 2010, at 1:47 PM, Pål Dahle wrote:
> On 06/15/2010 05:24 PM, Bruce Stephens wrote:
>> Pål Dahle<pal.dahle-+dScP4IL3Ug at public.gmane.org> writes:
>>> nebuchadnezzar:/opt/project/Cohiba/trunk/cohiba/tmp$ clang test.cpp
>> clang++ test.cpp
> Thanks for your reply. Unfortunately this didn't help.
> nebuchadnezzar:~$ clang++
> clang++: command not found
> nebuchadnezzar:~$ apt-cache search clang++
> clang - Low-Level Virtual Machine (LLVM), C language family frontend
> Anyway, I found a solution online
> clang -emit-llvm -c file.c && llvm-ld file.o
> So I am supposed to use llvm-ld for linking and not clang.
Uh no. You really want clang++. I don't know what's wrong with your
package, but if you download and compile the sources from llvm.org
you'll have a clang++.
More information about the cfe-dev