Why Clang?
Joe Gain
joe.gain at gmail.com
Tue Jun 19 11:51:25 UTC 2012
On Tue, Jun 19, 2012 at 1:42 PM, Robert Huff <roberthuff at rcn.com> wrote:
>
> Thomas Mueller writes:
>
>> Now how will I know whether GCC or Clang is the default compiler
>> for building the world and kernel, and for ports?
>
> My understanding is:
>
> 8.*
> base - gcc
> ports - gcc
>
> 9.0 (and possibly 9.*)
> base - gcc
> ports - clang (with the caveat some ports need either any gcc
> or a specific version)
>
I can't confirm this other than to say, that I compile stable 9 base
(kernel + world) using clang
and ports using gcc. I have to compile base using WERROR= and
NO_WERROR= settings
in make.conf so that the compilation doesn't halt on error messages.
Maybe this is no
longer required.
This is as per wiki, though admittedly, as per wiki a couple of months ago.
I can imagine that the problem will be compiling ports with clang.
Some of the gcc code is not
correct as per specification. There's a list somewhere of currently
compilable ports using clang.
> CURRENT
> base - as of this writing, clang (look for announcement in
> current@ or hackers@)
> ports - clang, as above though with a shorter list
>
> (Someone please correct me if they have more accurate
> information.)
>
>
> Robert Huff
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
joe gain
jacob-burckhardt-str. 16
78464 konstanz
germany
+49 (0)7531 60389
(...otherwise in ???)
More information about the freebsd-questions
mailing list