Subject: Re: [boost] [EXTERNAL] Clang Darwin trunk Cray 8.0 and max_digits10 support - problem in config?
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-07-11 04:19:31
Belcourt, Kenneth wrote:
> Now that I understand the process,
> I'll attempt to bring up clang on linux with c++11 / libc++ support
> (might be the weekend before this happens).
I don't know much about the situation around Linux, but
I don't recommend to use libc++ on Linux. On Linux, please use libstdc++.
(When using clang in a C++11 mode on Linux, pass the command-line option
"-std=c++0x" but don't pass "-stdlib=libc++".)
libstdc++-4.7 needs to be patched when used with clang (a patch is
distributed at http://clang.llvm.org/cxx_status.html), but, IIRC,
libstdc++-4.6 can be used with clang without any patch.