src.conf question
Mark van Dijk
lists at internecto.net
Tue Jan 1 23:29:30 UTC 2013
>> (..) I am not familiar with
>> 'WITH_LIBCPLUSPLUS'. Why did you add that and what does it do?
>
> WITH_LIBCPLUSPLUS = yes makes the new libc++ being built. It can be used
> with LLVM/CLANG by setting explicitely
>
> CXXFLAGS+= -stdlib=libc++ -std=c++11
>
> in /etc/src.conf for being used with the base system's source build or,
> if you like to compile some other software, like ports using a C++
> compiler (clang++ on systems like 9.1-STABLE or c++ on 10.0-CUR where
> cc/c++ refers now by default to LLVM/CLANG).
>
> While it works well on FreeBSD 10.0-CURRENT at the moment (not for ports
> at all, but for the main system's source) it might not be the same on
> STABLE at the moment since the LLVM/CLANG is still 3.1 while on CURRENT
> it's 3.2.
>
I see. Thank you for explaining, much appreciated.
More information about the freebsd-stable
mailing list