Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2009 22:44:55 +0100
From:      Roman Divacky <rdivacky@freebsd.org>
To:        current@freebsd.org
Subject:   [ANNOUNCE]: clang/llvm can compile booting FreeBSD kernel on i386/amd64
Message-ID:  <20090225214455.GA6588@freebsd.org>

next in thread | raw e-mail | index | archive | help

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,


Clang is a new frontend for C-like languages for LLVM. It's modern, BSD
licensed compiler that produces roughly the same code quality or better
as GCC. It's still in its development phase but quite mature. It includes
static analyzer as well.

And yes, it can compile FreeBSD kernel that actually boots and works. Not
as stable as GCC yet but the Clang team is working on that. The userland
needs some more work but a lot works already.

You can try yourself, the details are described here:


	http://wiki.freebsd.org/BuildingFreeBSDWithClang


basically you just install devel/llvm-devel port, compile the kernel with -O1
and boot. Don't forget to try out the static analysis.

We'd like to encourage you to try this out and test stuff. We can't test
everything. In a case of problems (there sure will be) please contact me or
Pawel.

thank you!

your clang@freebsd team

Roman Divacky, Pawel Worach and Brooks Davis

--huq684BweRXVnRxX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkmlu9UACgkQLVEj6D3CBEwQZgCeP/VoeUNaGezIwfyAd5zYu61j
LY0AmQH1b3kMbAXgR9MLNIQ2AZg/cne+
=yib1
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090225214455.GA6588>