]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/src/engine/boehm_gc/doc/README.autoconf
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / tools / build / src / engine / boehm_gc / doc / README.autoconf
CommitLineData
7c673cae
FG
1As of GC6.0alpha8, we attempt to support GNU-style builds based on automake,
2autoconf and libtool. This is based almost entirely on Tom Tromey's work
3with gcj.
4
5To build and install libraries use
6
7configure; make; make install
8
9The advantages of this process are:
10
111) It should eventually do a better job of automatically determining the
12right compiler to use, etc. It probably already does in some cases.
13
142) It tries to automatically set a good set of default GC parameters for
15the platform (e.g. thread support). It provides an easier way to configure
16some of the others.
17
183) It integrates better with other projects using a GNU-style build process.
19
204) It builds both dynamic and static libraries.
21
22The known disadvantages are:
23
241) The build scripts are much more complex and harder to debug (though largely
25standard). I don't understand them all, and there's probably lots of redundant
26stuff.
27
282) It probably doesn't work on all Un*x-like platforms yet. It probably will
29never work on the rest.
30
313) The scripts are not yet complete. Some of the standard GNU targets don't
32yet work. (Corrections/additions are very welcome.)
33
34The distribution should contain all files needed to run "configure" and "make",
35as well as the sources needed to regenerate the derived files. (If I missed
36some, please let me know.)
37
38Note that the distribution comes with a "Makefile" which will be overwritten
39by "configure" with one that is not at all equiavelent to the original. The
40distribution contains a copy of the original "Makefile" in "Makefile.direct".
41
42Important options to configure:
43
44 --prefix=PREFIX install architecture-independent files in PREFIX
45 [/usr/local]
46 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
47 [same as prefix]
48 --enable-threads=TYPE choose threading package
49 --enable-parallel-mark parallelize marking and free list construction
50 --enable-full-debug include full support for pointer backtracing etc.
51
52Unless --prefix is set (or --exec-prefix or one of the more obscure options),
53make install will install libgc.a and libgc.so in /usr/local/bin, which
54would typically require the "make install" to be run as root.
55
56Most commonly --enable-threads=posix or will be needed. --enable-parallel-mark
57is recommended for multiprocessors if it is supported on the platform.
58
59