From c1f5010410b07131c936ba2af1954be4c63be1cc Mon Sep 17 00:00:00 2001 From: Pyry Kontio Date: Tue, 24 Feb 2015 19:53:42 +0200 Subject: [PATCH] Added explanation for 64-bit binaries --- docs/GettingStarted.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index f7580ac0..19255699 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -22,7 +22,7 @@ Git repository urls found here: [http://llvm.org/docs/GettingStarted.html#git-mi ## Compiling on Windows/Visual Studio -### Compiling LLVM on Windows/Visual Studio +### Compiling LLVM on Windows/Visual Studio (32-bit binaries) ```shell cd \deps\llvm\build @@ -32,6 +32,16 @@ cmake -G "Visual Studio 12" -DCLANG_BUILD_EXAMPLES=false -DCLANG_INCLUDE_DOCS=fa msbuild LLVM.sln /p:Configuration=RelWithDebInfo;Platform=Win32 /m ``` +OR, if you need 64-bit binaries: + +```shell +cd \deps\llvm\build + +cmake -G "Visual Studio 12 Win64" -DCLANG_BUILD_EXAMPLES=false -DCLANG_INCLUDE_DOCS=false -DCLANG_INCLUDE_TESTS=false -DCLANG_INCLUDE_DOCS=false -DCLANG_BUILD_EXAMPLES=false -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_INCLUDE_EXAMPLES=false -DLLVM_INCLUDE_DOCS=false -DLLVM_INCLUDE_TESTS=false .. + +msbuild LLVM.sln /p:Configuration=RelWithDebInfo;Platform=x64 /m +``` + Last revisions known to work: LLVM `r230176` / Git mirror revision `0e8abfa6ed986c892ec723236e32e78fd9c47b88`.