mirror of
https://github.com/janet-lang/janet
synced 2025-11-17 15:57:12 +00:00
x64 allow dynamically switching between windows and sysv target.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
build/janet examples/sysir/samples.janet > temp.nasm
|
||||
valgrind build/janet examples/sysir/samples.janet > temp.nasm
|
||||
nasm -felf64 temp.nasm -l temp.lst -o temp.o
|
||||
ld -o temp.bin -dynamic-linker /lib64/ld-linux-x86-64.so.2 -lc temp.o
|
||||
valgrind ./temp.bin
|
||||
|
||||
Reference in New Issue
Block a user