]> granicus.if.org Git - gc/commitdiff
Refine Makefile.direct comment about multi-threaded GC build
authorIvan Maidanski <ivmai@mail.ru>
Mon, 17 Apr 2017 07:32:32 +0000 (10:32 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 24 May 2017 22:07:45 +0000 (01:07 +0300)
* Makefile.direct (CFLAGS): Refine comment how to build multi-threaded
collector in a general case.

Makefile.direct

index f99a6e58967292d6de19c9833a3ee0b8811a725e..2bc255f1b3e649cdcebf0cafd7453036af064c24 100644 (file)
@@ -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