From 6d40f027bacf15f245e4a84db0f1e691117e2a09 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 31 Aug 2018 10:58:19 -0700 Subject: [PATCH] Add Gentoo Linux --- Getting-started.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Getting-started.md b/Getting-started.md index 5bd9da1..a385503 100644 --- a/Getting-started.md +++ b/Getting-started.md @@ -30,6 +30,7 @@ But caution is that you need to identify whether the clang library is compiled w * FreeBSD + with `llvm60` installed: `cmake -H. -BRelease -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on -DCMAKE_PREFIX_PATH=/usr/local/llvm60` + use libc++: `cmake -H. -BRelease -DCLANG_USE_BUNDLED_LIBC++=on` +* Gentoo Linux: `cmake -H. -BRelease -DSYSTEM_CLANG=on -DCMAKE_PREFIX_PATH=/usr/lib/llvm/6 -DLLVM_ENABLE_RTTI=on` Debian: `apt install zlib1g-dev` Install g++-7 on Ubuntu 16.04: https://gist.github.com/jlblancoc/99521194aba975286c80f93e47966dc5