From c363ace8747244b8e22349079d16b831c9c11ae6 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 1 Jan 2024 20:38:42 -0700 Subject: [PATCH] fix linker to be static for now --- src/g.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/g.rs b/src/g.rs index c4a43734b..a512f686c 100644 --- a/src/g.rs +++ b/src/g.rs @@ -62,7 +62,8 @@ fn assemble(cfg: &str, program: &S) { } let output = Command::new("ld") - .arg("-lc") + //.arg("-lc") + // linking c library causes ELF to need an interpreter that it can't find... .arg("-o") .arg(cfg) .arg(&tmp_o)