On 11 February 2012 21:45, Michael Powell <nightre...@hotmail.com> wrote:

> Dennis Glatting wrote:
>
> > I get errors when trying to compile RELENG_9 with clang. Is clag suppose
> > to work when it comes to compiling the OS or am I missing something:
> [snip]
>
> I can't speak to RELENG_9, but I have successfully rebuilt the RELEASE with
> CLANG (make/install world kernel). My /etc/make.conf as per instructions I
> found on the wiki:
>
> .if !defined(CC) || ${CC} == "cc"
> CC=clang
> .endif
> .if !defined(CXX) || ${CXX} == "c++"
> CXX=clang++
> .endif
> .if !defined(CPP) || ${CPP} == "cpp"
> CPP=clang-cpp
> .endif
> # Don't die on warnings
> NO_WERROR=
> WERROR=
> # Don't forget this when using Jails!
> NO_FSCHG=
>
> This was with amd64, have not tried any 32 bit. With custom kernel as well.
>
> -Mike
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>


I've been building 9-current and 9-stable for a year or so with few
problems. It is a supported configuration after all. It should also create
faster binaries as well as gcc 4.3 is quite old now and clang generally
stacks up very well with the later gcc versions in terms of binary
performance.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to