From: Ivan Maidanski Date: Mon, 17 Apr 2017 07:32:32 +0000 (+0300) Subject: Refine Makefile.direct comment about multi-threaded GC build X-Git-Tag: v7.4.6~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c331f95aa0c061509d112d03da42010e0a9887e6;p=gc Refine Makefile.direct comment about multi-threaded GC build * Makefile.direct (CFLAGS): Refine comment how to build multi-threaded collector in a general case. --- diff --git a/Makefile.direct b/Makefile.direct index f99a6e58..2bc255f1 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -45,14 +45,17 @@ AO_INSTALL_DIR=$(srcdir)/libatomic_ops-install CFLAGS= -O -I$(srcdir)/include -I$(AO_INSTALL_DIR)/include -DATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS -# To build the parallel collector on Linux, add to the above: -# -DGC_LINUX_THREADS -DPARALLEL_MARK -DTHREAD_LOCAL_ALLOC +# To build the collector with threads support, add to the above: +# -DGC_THREADS -DPARALLEL_MARK -DTHREAD_LOCAL_ALLOC +# # To build the thread-capable preload library that intercepts # malloc, add -DGC_USE_DLOPEN_WRAP -DREDIRECT_MALLOC=GC_malloc -fpic +# # To build the parallel collector in a static library on HP/UX, # add to the above: # -DGC_HPUX_THREADS -DTHREAD_LOCAL_ALLOC -D_POSIX_C_SOURCE=199506L -mt # FIXME: PARALLEL_MARK currently broken on HP/UX. +# # To build the thread-safe collector on Tru64, add to the above: # -pthread -DGC_OSF1_THREADS