[cfe-dev] libcxx install location?

Larry Evans cppljevans at suddenlink.net
Sat Feb 5 07:11:18 PST 2011


On 02/05/11 08:55, Bjorn Reese wrote:
> On 2011-02-05 15:05, Larry Evans wrote:
> 
>> /home/evansl/download/llvm/svn/build/Debug+Asserts/bin/clang++
>> -stdlib=libc++ -lstdc++ move.o -o move.exe
> 
> -lstdc++ must be after move.o
OK, but it must be something else, because:

/home/evansl/download/llvm/svn/build/Debug+Asserts/bin/clang++ -c
-stdlib=libc++ move.cpp -o move.o
/home/evansl/download/llvm/svn/build/Debug+Asserts/bin/clang++ move.o
-stdlib=libc++ -lstdc++ -o move.exe
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib64/libc++.so:
undefined reference to `__cxa_free_exception'
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib64/libc++.so:
undefined reference to `__cxa_begin_catch'
...





More information about the cfe-dev mailing list