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: v8.0.0~786 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f52905beaacab8680ca19f17ebd37d21f55aea4;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 93fd1a71..f1a8b33a 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -48,14 +48,17 @@ CFLAGS= -O -I$(srcdir)/include -I$(AO_SRC_DIR)/src \ -DGC_ATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS \ $(CFLAGS_EXTRA) -# 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