diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-10-18 21:29:57 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-10-18 21:29:57 +0300 |
commit | 4dfd0651457ad433c4103f20a0fd1e1bb9538282 (patch) | |
tree | 1069f844e60ee52dd54bdaec9b2f66d54ab9fb17 /README.md | |
parent | c2ed10ed596f1ff15e5ffa5dfb2bbb16980c1004 (diff) | |
download | bdwgc-4dfd0651457ad433c4103f20a0fd1e1bb9538282.tar.gz |
Mention CMake-based build in README.md and README.QUICK
* README.QUICK (INSTALLATION): Mention Cygwin; describe CMake-based
build shortly; reference README.cmake.
* README.md (Installation and Portability): Describe CMake-based
build shortly and build by direct gcc invocation.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -200,6 +200,19 @@ build of `master` branch of the collector could look like: Cloning of `libatomic_ops` is now optional provided the compiler supports atomic intrinsics. +Alternatively, the collector could be built with CMake, like this: + + mkdir out + cd out + cmake .. + cmake --build . + ctest + +Finally, on most targets, the collector could be built and tested directly +with a single compiler invocation, like this: + + gcc -I include -o gctest tests/test.c extra/gc.c && ./gctest + Below we focus on the collector build using classic makefile. For the Makefile.direct-based process, typing `make check` instead of `make` will automatically build the collector and then run `setjmp_test` and `gctest`. |