mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Compile with odin.exe and no run.bat
This is win32 only and requires CreateProcessA
This commit is contained in:
@@ -2,17 +2,3 @@
|
||||
|
||||
|
||||
rem call clang -c -emit-llvm -DGB_IMPLEMENTATION -DGB_DEF=GB_DLL_EXPORT ..\src\gb\gb.h
|
||||
|
||||
pushd ..\examples
|
||||
call ..\bin\odin.exe ..\examples/main.odin ^
|
||||
&& opt -mem2reg main.ll -o main.bc ^
|
||||
&& clang main.bc -o main.exe ^
|
||||
-Wno-override-module -lkernel32.lib -luser32.lib ^
|
||||
&& main.exe
|
||||
popd
|
||||
|
||||
rem && llvm-dis ..\examples/main.bc -o - ^
|
||||
rem call ..\misc\llvm-bin\opt.exe -mem2reg ..\examples/output.ll > ..\examples/main.bc
|
||||
rem call llc ..\examples/main.bc
|
||||
rem call llvm-dis ..\examples/main.bc -o ..\examples/output.ll
|
||||
rem call clang ..\examples/main.c -O0 -S -emit-llvm -o ..\examples/main-c.ll
|
||||
|
||||
Reference in New Issue
Block a user