On Tue, Jan 01, 2013 at 06:44:16AM -0800, Robert wrote:> ...
> I will be upgrading my main desktop system from 8-stable to 9-stable
> this week and am quite confused with regards to Clang vs GCC. I have
> complete backups and will be doing a complete re-install.
>
> I have seen several different examples of what to put
> into /etc/src.conf and /etc/make.conf and am not sure if it is safe or
> even advisable to make the move to Clang for source and ports.
>
> Can someone help with this?
> ...
Back around May, I migrated my stable/8 machines to stable/9. At that
time, I also switched to clang from gcc for building the FreeBSD base
system. (I expected quite a bit more "turbulence" were I to attempt
that with ports.)
Accordingly, I configured /etc/src.conf to read:
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=yes
and that has been working well for me since. (Disclosure: I track
stable/9 daily, which is probably a higher frequency than most folks.
For that matter, I also track head daily on the same machine (different
slice).)
In any case, there are no problems I can ascribe to having done that.
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL:
<http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130101/becfd7e0/attachment.sig>