Skip to content

Commit ddab9d8

Browse files
committed
Merge pull request #4 from jonessen96/patch-1
Add `--enable-libcpp` configure option, fix md codeblock formatting
2 parents acdf7cd + 81908da commit ddab9d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Generating the Bitcode
99

1010
In a build directory under llvm root, run
1111

12-
emconfigure ../configure --enable-optimized --disable-jit --disable-threads --disable-pthreads --enable-targets=x86
13-
emmake make
12+
emconfigure ../configure --enable-optimized --enable-targets=x86 --enable-libcpp --disable-jit --disable-threads --disable-pthreads
13+
emmake make
1414

1515
You will hit errors on attempting to use tblgen and others, the build system is self-executing, but we generate bitcode that is unrunnable. When the errors happen, copy in the file from a parallel native build, and edit the Makefile of the parent dir (for llvm-tblgen, utils/, for llvm-config, tools/ and ./) that generates that file to not call it (otherwise, running make again will go back and overwrite the one you just copied in). Re-run make.
1616

0 commit comments

Comments
 (0)