Import boehm-gc snapshot, taken from
[official-gcc.git] / boehm-gc / doc / README.DGUX386
blob0aa89bdfca0157301393eb3c0d68c341cd654a26
1     Garbage Collector (parallel iversion) for ix86 DG/UX Release R4.20MU07
4      *READ* the file README.QUICK.
6      You need the GCC-3.0.3 rev (DG/UX) compiler to build this tree.
7      This compiler has the new "dgux386" threads package implemented.
8      It also supports the switch "-pthread" needed to link correctly
9      the DG/UX's -lrte -lthread with -lgcc and the system's -lc.
10      Finally we support parralleli-mark for the SMP DG/UX machines.
11      To build the garbage collector do:
13       ./configure --enable-parallel-mark
14       make
15       make gctest
17      Before you run "gctest" you need to set your LD_LIBRARY_PATH
18      correctly so that "gctest" can find the shared library libgc.
19      Alternatively you can do a configuration
21       ./configure --enable-parallel-mark --disable-shared
23      to build only the static version of libgc.
25      To enable debugging messages please do:
26      1) Add the "--enable-gc-debug" flag during configuration.
27      2) Edit the file linux-threads.c and uncomment the line:
29      /* #define DEBUG_THREADS 1 */ to --->
31      #define DEBUG_THREADS 1
33      Then give "make" as usual.
35      In a machine with 4 CPUs (my own machine) the option parallel
36      mark (aka --enable-parallel-mark) makes a BIG difference.
38      Takis Psarogiannakopoulos
40 Note (HB):
41      The integration of this patch is currently not complete.
42      The following patches against 6.1alpha3 where hard to move
43      to alpha4, and are not integrated.  There may also be minor
44      problems with stylistic corrections made by me.
45 [The diff for ltconfig and ltmain.sh was removed from this file on 2011-08-22]