C++ headers

Shane Ambler FreeBSD at ShaneWare.Biz
Sun Apr 14 03:56:23 UTC 2013


On 13/04/2013 21:45, Jason Lenthe wrote:
>> Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has
>> some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11
>> features (and missing headers).
>>
>> Is there any port of c++11 available?
>
> There sure is.  Just get the latest version of gcc or clang from the
> ports collection.

The new C++11 libs are planned to be part of 10.0 base install

You can build 9.1 with the new libs by adding WITH_LIBCPLUSPLUS=yes to
your src.conf before building world. Which needs to be built with clang.

For more info see https://wiki.freebsd.org/NewC++Stack




More information about the freebsd-questions mailing list