HOLY COW VARIABLES WORK

This commit is contained in:
SpookyDervish
2025-09-02 06:42:58 +10:00
parent 88cdcfa54f
commit a1e1cf3dd8
7 changed files with 93 additions and 11 deletions

View File

@@ -27,14 +27,13 @@ def main():
traceback(code, "fatal error", f"unkown architecture \"{arch}\"")
generator.init()
compile_time = time()-start
print(f"Compiled in {round(compile_time, 1)} seconds.")
system(f"nasm -felf64 {out_path}.asm")
system(f"ld -o {out_path} {out_path}.o -m elf_{arch}")
remove(out_path + ".o")
remove(out_path + ".asm")
compile_time = time()-start
print(f"Compiled in {round(compile_time, 1)} seconds.")
#remove(out_path + ".asm")
if __name__ == "__main__":