aboutsummaryrefslogtreecommitdiff
path: root/run.bat
diff options
context:
space:
mode:
authorgingerBill <ginger.bill.22@gmail.com>2016-07-21 00:26:14 +0100
committergingerBill <ginger.bill.22@gmail.com>2016-07-21 00:26:14 +0100
commitcbd82e3c02cbeff8fe3ba5198d6ca730f8c1eace (patch)
tree00728d59925609e8fd081f5276e8b26117ec00e3 /run.bat
parentaa6a2caecb759522914ba82cc506e60270ad1ab0 (diff)
Support import files as modules (i.e. import only once)
Diffstat (limited to 'run.bat')
-rw-r--r--run.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/run.bat b/run.bat
new file mode 100644
index 000000000..7868aeaa4
--- /dev/null
+++ b/run.bat
@@ -0,0 +1,12 @@
+@echo off
+
+
+rem del "..\examples\test.bc"
+call ..\bin\odin.exe ..\examples/test.odin
+rem clang -S -emit-llvm ..\examples/test.c -o ..\examples/test.ll
+call llvm-as < ..\examples/test.ll
+rem call lli ..\examples/test.ll
+
+rem call lli ..\examples/test.bc rem JIT
+rem llc ..\examples/test.bc -march=x86-64 -o ..\examples/test.exe
+