[cfe-dev] libcxx install location?

Larry Evans cppljevans at suddenlink.net
Sat Feb 5 06:05:54 PST 2011

On 02/05/11 07:52, Jean-Daniel Dupas wrote:
> Le 5 févr. 2011 à 14:26, Larry Evans a écrit :
>> Am I missing something?
> I don't have access to my linux machine right now, so I cannot test, but I think you can link on libstdc++ to get the missing symbols (just adding -lstdc++ to the linker flags should be enough).
> It should not conflict with libc++ symbols as libc++ uses inline namespace, and so mangle the standard symbols differently than the libstdc++.
> This is what we use to do on OS X before we got a separate libc++abi library.
> -- Jean-Daniel

Thanks Jean; however, I'm getting the same error:

make compile
/home/evansl/download/llvm/svn/build/Debug+Asserts/bin/clang++ -c
-stdlib=libc++ move.cpp -o move.o
-stdlib=libc++ -lstdc++ move.o -o move.exe
undefined reference to `__cxa_free_exception'
undefined reference to `__cxa_begin_catch'
undefined reference to `__cxa_guard_release'


More information about the cfe-dev mailing list