From aac6608311da3be912eb75ad340b4b24a03de182 Mon Sep 17 00:00:00 2001 From: SpookyDervish <78246495+SpookyDervish@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:01:11 +1000 Subject: [PATCH] arch spec for ld --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 151f52d..7974e8c 100644 --- a/main.py +++ b/main.py @@ -31,7 +31,7 @@ def main(): print(f"Compiled in {round(compile_time, 1)} seconds.") system(f"nasm -felf64 {out_path}.asm") - system(f"ld -arch elf_{arch} -o {out_path} {out_path}.o") + system(f"ld -m elf_{arch} -o {out_path} {out_path}.o") remove(out_path + ".o") #remove(out_path + ".asm")