From a50db3be6072d70a14ea9a586f3f1c62ba20ecdb Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 11 May 2012 13:49:21 +0100 Subject: doc: Add a note about compiling under clang. --- README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README b/README index 5fc308c0..29ab65d2 100644 --- a/README +++ b/README @@ -272,6 +272,20 @@ appliance. You will need to port the febootstrap first (http://people.redhat.com/~rjones/febootstrap/). +Note on using clang (from LLVM) instead of GCC +---------------------------------------------------------------------- + + export CC=clang + ./configure --disable-probes + make + +SystemTap/DTrace-style userspace probe points don't work under the +clang compiler, which is why you may need to disable them. + +Don't enable GCC warnings (ie. *don't* use +'./configure --enable-gcc-warnings'). + + Copyright and license information ---------------------------------------------------------------------- -- cgit