From: Joshua Richardson Date: Tue, 13 May 2014 17:20:17 +0000 (-0700) Subject: Added instructions to README.md for building from git. X-Git-Tag: gc7_6_0~253^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2f241c9965a059ba819c31adc82816e8cb2f481;p=gc Added instructions to README.md for building from git. --- diff --git a/README.md b/README.md index d5919fce..2d19c41a 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,24 @@ Things don't appear to add up for a variety of reasons, most notably fragmentation losses. These are probably much more significant for the contrived program "test.c" than for your application.) +### Building from GIT +The process is copied from http://www.hboehm.info/gc/ . + +D is the absolute path to an installation directory: + + cd D + git clone git://github.com/ivmai/libatomic_ops.git + git clone git://github.com/ivmai/bdwgc.git + ln -s D/libatomic_ops D/bdwgc/libatomic_ops + cd bdwgc + autoreconf -vif + automake --add-missing + ./configure + make + + +### Other builds + On most Unix-like platforms, the collector can be built either using a GNU autoconf-based build infrastructure (type `configure; make` in the simplest case), or with a classic makefile by itself (type