diff --git a/source/tlang/compiler/codegen/emit/dgen.d b/source/tlang/compiler/codegen/emit/dgen.d index 5824772..f801f12 100644 --- a/source/tlang/compiler/codegen/emit/dgen.d +++ b/source/tlang/compiler/codegen/emit/dgen.d @@ -1285,8 +1285,9 @@ int main() { try { - //NOTE: Change to system compiler (maybe, we need to choose a good C compiler) string systemCompiler = config.getConfig("dgen:compiler").getText(); + gprintln("Using system C compiler '"~systemCompiler~"' for compilation"); + string[] compileArgs = [systemCompiler, "-o", "tlang.out", file.name()]; // Check for object files to be linked in