From cb5b7cc62d7402ba805db50114ca34d852483415 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 21 May 2026 19:29:19 +0000 Subject: [PATCH] 9src/cc: fix objs list to use objext, not hardcoded "o" The object written by the compiler used objext (.6 for amd64 pcc) but the objs list still held .o, so 6l was handed a nonexistent filename. https://claude.ai/code/session_01WGAwvvTwDg2yknFkmZ3qzs --- sys/src/ape/9src/cc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/ape/9src/cc.c b/sys/src/ape/9src/cc.c index 6739f20a8..ff0031305 100644 --- a/sys/src/ape/9src/cc.c +++ b/sys/src/ape/9src/cc.c @@ -168,7 +168,7 @@ main(int argc, char *argv[]) suf++; if(strcmp(suf, "c") == 0) { append(&srcs, s); - append(&objs, changeext(s, "o")); + append(&objs, changeext(s, objext)); } else if(strcmp(suf, "o") == 0 || strcmp(suf, ot->o) == 0 || strcmp(suf, "a") == 0 ||