From 89ccb4f928c05c5cddfa71d1f51a175a43309ab3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 14 Feb 2024 13:29:19 -0500 Subject: Switch back to TCC --- nextlang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextlang.c b/nextlang.c index e3841eb9..8fec05f4 100644 --- a/nextlang.c +++ b/nextlang.c @@ -95,8 +95,8 @@ int main(int argc, char *argv[]) const char *ldflags = "-Wl,-rpath '-Wl,$ORIGIN'"; - // const char *run = heap_strf("tcc -run %s %s %s -", cflags, ldflags, ldlibs); - const char *run = heap_strf("gcc -x c %s %s %s - -o program && ./program", cflags, ldflags, ldlibs); + const char *run = heap_strf("tcc -run %s %s %s -", cflags, ldflags, ldlibs); + // const char *run = heap_strf("gcc -x c %s %s %s - -o program && ./program", cflags, ldflags, ldlibs); FILE *cc = popen(run, "w"); CORD_put(program, cc); fclose(cc); -- cgit v1.2.3