]> code.delx.au - pulseaudio/commitdiff
doc: Add info about running pulseaudio from the build dir
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 9 Sep 2011 10:17:19 +0000 (12:17 +0200)
committerColin Guthrie <colin@mageia.org>
Wed, 14 Sep 2011 08:23:41 +0000 (09:23 +0100)
README

diff --git a/README b/README
index 02d3c611948f632192339bbf6a16bc159e502984..10debd44eac7497cc9b15e3b99c2ab77f8b1d4f7 100644 (file)
--- a/README
+++ b/README
@@ -32,3 +32,12 @@ OHLOH:
 
 AUTHORS:
        Several
+
+HACKING:
+       In order to run pulseaudio from the build dir __OPTIMIZE__ should be
+       disabled (look at src/pulsecore/core-util.h::pa_run_from_build_tree()),
+       this can be done by passing "CFLAGS=-O0" to the configure script:
+         ./autogen.sh
+         CFLAGS="-ggdb3 -O0" LDFLAGS="-ggdb3" ./configure
+         make
+         ./src/pulseaudio -n -F src/default.pa -p $(pwd)/src/.libs/