summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorklarlund <klarlund@gmail.com>2008-03-28 02:48:48 +0000
committerklarlund <klarlund@gmail.com>2008-03-28 02:48:48 +0000
commitd6532ae1d997a31884a67c51ec2bc75756242eed (patch)
tree995faab42744ddcb755996469397b865b88cc048 /INSTALL
downloaddistcc-git-d6532ae1d997a31884a67c51ec2bc75756242eed.tar.gz
Initial submission @6805748, not fully baked yet.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL39
1 files changed, 39 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..800e3c3
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,39 @@
+
+To build: the simple way is to just do
+
+ run_all_autoconf.sh # invokes autoconf and autoheader using
+ # version info in the file version.sh
+ configure # creates distcc/config.h and makefiles
+ make # build
+
+but the recommended way is to build in a different directory tree
+than the source tree:
+
+ run_all_autoconf.sh
+ mkdir obj
+ cd obj
+ ../configure
+ make
+
+Either of these methods will:
+
+ - compile distcc
+ - compile Python C extensions
+
+To test:
+
+ make check
+
+To test installation using your own machine as a distcc compilation server:
+
+ - start daemon (in one window):
+
+ distcc/distccd --wizard --allow 127.0.0.1
+
+ - compile (in another):
+
+ DISTCC_POTENTIAL_HOSTS=127.0.0.1 pump BUILDCOMMAND
+
+See the shell script pump in this directory.
+
+