add linux compiled sim
This commit is contained in:
parent
f18b3fae5f
commit
7829193f1f
@ -1,2 +1,4 @@
|
||||
gcc compiled_sim.c -shared -o compiled_sim.dll -Wall -Werror -Ofast
|
||||
set cargs=-shared -Wall -Werror -Ofast
|
||||
gcc compiled_sim.c -o compiled_sim.dll %cargs%
|
||||
gcc compiled_sim.c -o compiled_sim.so %cargs%
|
||||
pause
|
||||
|
Binary file not shown.
BIN
sim/compiled_sim.so
Normal file
BIN
sim/compiled_sim.so
Normal file
Binary file not shown.
@ -8,7 +8,7 @@ ffi.cdef [[
|
||||
void sim_update_nets();
|
||||
void sim_update_gates();
|
||||
]]
|
||||
local csim = ffi.load("./compiled_sim.dll")
|
||||
local csim = ffi.load("./compiled_sim")
|
||||
|
||||
Simulation = {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user