HOLY COW VARIABLES WORK
This commit is contained in:
7
main.py
7
main.py
@@ -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__":
|
||||
|
Reference in New Issue
Block a user