From: swildner Date: Mon, 16 Nov 2009 15:51:38 +0000 (-0800) Subject: Some updates, more will follow soon... X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/commitdiff_plain/47e110c290a2a0a31f864d8ce10f607b8532d18f Some updates, more will follow soon... --- diff --git a/docs/developer/clang/index.html b/docs/developer/clang/index.html index 6a302913..71a455b7 100644 --- a/docs/developer/clang/index.html +++ b/docs/developer/clang/index.html @@ -44,28 +44,26 @@ th, td.theader {

Compiling DragonFly BSD using llvm/clang

+

Overview

-This page tracks the progress on an effort to compile the DragonFly -BSD system with llvm/clang instead of gcc. +This page tracks the progress on an effort to compile DragonFly with llvm/clang instead of gcc.

How?

-cd sys/config
-config GENERIC
-cd ../compile/GENERIC
-make depend
-env CC=clang COPTFLAGS=-O make MODULES_OVERRIDE=
-make install MODULES_OVERRIDE=
+cd /usr/src
+env WORLD_CCVER=clang make -DNO_GCC44 buildworld
+env WORLD_CCVER=clang make buildkernel KERNCONF=...
 
- +

Notes

llvm/clang bug #3812 was reopened as it seems to be an actual bug. The patch (atomic.patch) is only intended to be TEMPORARY and will kill gcc compatibility! I will update this as soon as a llvm/clang is fixed.