diff options
| author | gingerBill <ginger.bill.22@gmail.com> | 2016-07-21 00:26:14 +0100 |
|---|---|---|
| committer | gingerBill <ginger.bill.22@gmail.com> | 2016-07-21 00:26:14 +0100 |
| commit | cbd82e3c02cbeff8fe3ba5198d6ca730f8c1eace (patch) | |
| tree | 00728d59925609e8fd081f5276e8b26117ec00e3 /run.bat | |
| parent | aa6a2caecb759522914ba82cc506e60270ad1ab0 (diff) | |
Support import files as modules (i.e. import only once)
Diffstat (limited to 'run.bat')
| -rw-r--r-- | run.bat | 12 |
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 + |