summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-11-25 22:30:36 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-11-25 22:30:36 +0300
commite90b596f7a03712fc75b6b5f511876e1734edb6b (patch)
tree939a3c36052118c8c5fc8ed8181baa5d662f0265
parentf21ea0801ae7e4b1367cb4e5557525d19d22ce18 (diff)
downloadbdwgc-e90b596f7a03712fc75b6b5f511876e1734edb6b.tar.gz
Update README.win32 about default build configuration (configure, cmake)
* doc/README.win32: Update information about the build with GNU make (the collector is built as shared library by default); mention that CMake builds the collector with threads support by default.
-rw-r--r--doc/README.win3210
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/README.win32 b/doc/README.win32
index 64ed22eb..5e24db3f 100644
--- a/doc/README.win32
+++ b/doc/README.win32
@@ -69,8 +69,8 @@ MinGW builds (including for x86_64) are available both directly (on a Windows
host) and via cross-compilation, e.g.
"./configure --host=i686-pc-mingw32; make check"
-To build the collector as a DLL, pass "--enable-shared --disable-static" to
-configure (this will instruct make to compile with -D GC_DLL).
+By default, configure instructs make to build the collector as a DLL (shared
+library), adding -D GC_DLL to CFLAGS.
Parallel marker is enabled by default; it could be disabled by
"--disable-parallel-mark" option.
@@ -184,9 +184,9 @@ The incremental collection is supported only if it is enabled before any
additional threads are created.
Threads are also supported in static library builds with Microsoft tools
-(e.g., NT_MAKEFILE) and with the GNU tools. The collector must be built with
-GC_THREADS defined (this is the default in NT_MAKEFILE, ./configure and
-CMakeLists.txt).
+(e.g., NT_MAKEFILE), as well as with the CMake and GNU tools. The collector
+must be built with GC_THREADS defined (this is the default in NT_MAKEFILE,
+CMakeLists.txt and configure).
For the normal, non-dll-based thread tracking to work properly,
threads should be created with GC_CreateThread or GC_beginthreadex,