On Wed, 18 Jan 2017 21:21:17 +0100 cen <imbacen@xxxxxxxxx> wrote: > Trying to compile a hello world cpp on Fedora 25 with clang++ and > libc++. > > sudo dnf install clang libcxx-devel > > #include <iostream> > #include <string> > > int main() > { > std::string a = "abc"; > std::cout << a; > } > > clang++ -stdlib=libc++ hello.cpp > > This results in a bunch of linker errors. What am I missing? Tried, got many linker errors. Searched on cxa_end_catch, and found this page. Might get you closer. http://stackoverflow.com/questions/7016730/compiling-with-clang-using-libc-undefined-references Didn't track down the package for -lc++abi, left as an exercise for the reader. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx