From c87020811837eff9cbc0457494c9d8f0f6a53cff Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Mon, 12 Dec 2022 15:52:46 +0200 Subject: [PATCH] DGen - Use clang for now --- source/tlang/compiler/codegen/emit/dgen.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tlang/compiler/codegen/emit/dgen.d b/source/tlang/compiler/codegen/emit/dgen.d index 2f2f2255..1ca1341c 100644 --- a/source/tlang/compiler/codegen/emit/dgen.d +++ b/source/tlang/compiler/codegen/emit/dgen.d @@ -179,7 +179,7 @@ int main() try { //NOTE: Change to system compiler (maybe, we need to choose a good C compiler) - Pid ccPID = spawnProcess(["gcc", "-o", "tlang.out", file.name()]); + Pid ccPID = spawnProcess(["clang", "-o", "tlang.out", file.name()]); //NOTE: Case where it exited and Pid now inavlid (if it happens it would throw processexception surely)? int code = wait(ccPID);