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?
Best regards, cen