aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-08-13 18:23:04 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-08-13 18:23:04 -0700
commitc8074452dae709c2fd48977dac07ab4fd6efd777 (patch)
treee3db9c403c21dab1da25ededfc63092ebe570225
parent7406f7ecac151b69811df46ef06ba4630cb63a5d (diff)
comment on running .bc files
-rwxr-xr-xtools/exec_llvm.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/exec_llvm.py b/tools/exec_llvm.py
index 060c6bf9..aa18aa2b 100755
--- a/tools/exec_llvm.py
+++ b/tools/exec_llvm.py
@@ -24,6 +24,13 @@ running
it runs
python $(EMSCRIPTEN_TOOLS)/exec_llvm.py THE_FILE PARAMS
+
+An alternative solution to this problem is to compile
+the .ll into native code. This can be done as follows:
+
+ * Use llc to generate x86 asm
+ * Use as to generate an object file
+ * Use g++ to link it to an executable
'''
import os, sys