|
Packit |
d28291 |
Garbage Collector (parallel version) for x86 DG/UX Release R4.20MU07
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
*READ* the file README.QUICK.
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
You need the GCC-3.0.3 rev (DG/UX) compiler to build this tree.
|
|
Packit |
d28291 |
This compiler has the new "dgux386" threads package implemented.
|
|
Packit |
d28291 |
It also supports the switch "-pthread" needed to link correctly
|
|
Packit |
d28291 |
the DG/UX's -lrte -lthread with -lgcc and the system's -lc.
|
|
Packit |
d28291 |
Finally, we support parallel mark for the SMP DG/UX machines.
|
|
Packit |
d28291 |
To build the garbage collector do:
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
./configure --enable-parallel-mark
|
|
Packit |
d28291 |
make
|
|
Packit |
d28291 |
make gctest
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
Before you run "gctest" you need to set your LD_LIBRARY_PATH
|
|
Packit |
d28291 |
correctly so that "gctest" can find the shared library libgc.
|
|
Packit |
d28291 |
Alternatively you can do a configuration
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
./configure --enable-parallel-mark --disable-shared
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
to build only the static version of libgc.
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
To enable debugging messages please do:
|
|
Packit |
d28291 |
1) Add the "--enable-gc-debug" flag during configuration.
|
|
Packit |
d28291 |
2) Pass "CFLAGS=-DDEBUG_THREADS" to "make".
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
In a machine with 4 CPUs (my own machine) the option parallel
|
|
Packit |
d28291 |
mark (aka --enable-parallel-mark) makes a BIG difference.
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
Takis Psarogiannakopoulos
|
|
Packit |
d28291 |
|
|
Packit |
d28291 |
Note (HB):
|
|
Packit |
d28291 |
The integration of this patch is currently not complete.
|
|
Packit |
d28291 |
The following patches against 6.1alpha3 where hard to move
|
|
Packit |
d28291 |
to alpha4, and are not integrated. There may also be minor
|
|
Packit |
d28291 |
problems with stylistic corrections made by me.
|
|
Packit |
d28291 |
[The diff for ltconfig and ltmain.sh was removed from this file on 2011-08-22]
|