DragonFly kernel List (threaded) for 2009-03
DragonFly BSD
DragonFly kernel List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: llvm/clang once more


From: Roman Divacky <rdivacky@xxxxxxxxxxx>
Date: Sat, 28 Mar 2009 18:53:13 +0100

On Sat, Mar 28, 2009 at 10:45:23AM -0700, Matthew Dillon wrote:
> 
> :Hi,
> :
> :I've managed to get our GENERIC kernel to compile with llvm/clang. There
> :is still one temporary fix (at least until clang guys fix the related
> :bug), but the kernel definitely compiles, boots and works stable.
> :As a stress test I've done a buildworld, which it survived without
> :problems.
> :I've put everything about DragonFly and llvm/clang so far together on
> :one page, http://leaf.dragonflybsd.org/~alexh/clang/clang.html in case
> :you are interested in details or even want to try it yourself.
> :
> :
> :Sincerely,
> :Alex
> 
>     Alex, do you think it's worth bringing clang in as contrib/ code
>     and adding direct 'cc' support for it via something like
>     'setenv CCVER clang1'?
> 
>     The other alternative is to get it into the pkgsrc system (instead
>     of as contrib code), and still hook it into the main system by
>     providing CCVER support for it.

you will need some local patches for freebsd-kernel printf extensions
and possibly some more stuff... managing it in the source tree itself
seems better to me. otoh, clang is not yet up to the task of becoming
real alternative to gcc. I'd wait to summer when they are going to release
their first version

roman



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]