mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 19:30:06 +00:00
Support import files as modules (i.e. import only once)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user