summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-05-11 13:49:21 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-05-11 13:50:56 +0100
commita50db3be6072d70a14ea9a586f3f1c62ba20ecdb (patch)
tree29566c59b21e9a37da9f1ee1e0de4083d2b076e4
parenta1680f03b7d38bf007d29ac23035e5af33736b0e (diff)
downloadlibguestfs-a50db3be6072d70a14ea9a586f3f1c62ba20ecdb.tar.gz
libguestfs-a50db3be6072d70a14ea9a586f3f1c62ba20ecdb.tar.xz
libguestfs-a50db3be6072d70a14ea9a586f3f1c62ba20ecdb.zip
doc: Add a note about compiling under clang.
-rw-r--r--README14
1 files changed, 14 insertions, 0 deletions
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
----------------------------------------------------------------------