working kinda
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
#!/bin/sh
|
||||
nasm -g -felf64 out.asm -o out.o
|
||||
|
||||
# baseline
|
||||
nasm -g -felf64 ../input/baseline/gc.asm -o gc.o
|
||||
nasm -g -felf64 ../input/baseline/str_cmp.asm -o str_cmp.o
|
||||
|
||||
# core
|
||||
nasm -g -felf64 ../input/core/str_len.asm -o str_len.o
|
||||
nasm -g -felf64 ../input/core/arr_size.asm -o arr_size.o
|
||||
nasm -g -felf64 ../input/core/itoa.asm -o itoa.o
|
||||
|
||||
ld -o out str_len.o arr_size.o itoa.o out.o
|
||||
# program
|
||||
nasm -g -felf64 out.asm -o out.o
|
||||
|
||||
ld -o out str_len.o arr_size.o itoa.o gc.o str_cmp.o out.o
|
||||
|
||||
Reference in New Issue
Block a user