From 65f13dba60cab28c5b6cae2d72b792ade51c86c8 Mon Sep 17 00:00:00 2001 From: Alejandro Sior Date: Sun, 31 Jul 2022 15:42:56 +0200 Subject: cook: getting system compilers --- .build | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to '.build') diff --git a/.build b/.build index f7c3f1f..134b1c1 100644 --- a/.build +++ b/.build @@ -1,10 +1,6 @@ -global asm -asm = Vec( - "asm", - "/usr/bin/nasm", - lambda o, i, ea: "-f elf64 %s -o %s %s" % (i, o, ea), - lambda i: (i.name + ".o"), - desc=lambda o, i, ea: "ASM %s" % (o) -) +global cc +cc = System.c_compiler() +global ld +ld = System.c_linker() subdir("test") \ No newline at end of file -- cgit v1.2.3