5
4
I have installed clang via yum:
yum install clang
Unfortunately, even a simple "Hello World!" won't compile because it tries to use the headers of libstdc++4.6 (which I think have c++0x features that clang does not understand). I could not find a libstdc++4.5 package, only for F14 which obviously didn't install.
I even tried installing the 2.9 binaries and also compiled&installed the svn trunk for myself. None of this helped.
I recall having the same problem on ubuntu, but I was able to solve it there by installing libstdc++4.5 headers.
So, how do people use clang on Fedora?
Yes, the first bug was reported by me :). I also compiled trunk, but I didn't know I had to configure paths. I looked at libc++, but at the moment it looks like it's only for OSX (I think it's distributed with a binary dependency which is OSX-only). I left Fedora for the time being, because I really needed clang (actually clang_complete for vim). Thanks for the insight. – Tamás Szelei – 2011-09-02T11:40:32.347
Glad it solved your question :) Thanks for the update about libc++. – Paweł Prażak – 2011-09-02T11:48:57.367