Hi, The attached patch fixes a compatibility issue with tcc.
All the best. Mario -- https://parenteses.org/mario
>From 19c4dcdbcc5419f80832f5bf914b0c96b87020bd Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart <[email protected]> Date: Fri, 3 Oct 2025 19:32:35 +0200 Subject: [PATCH] csc.scm: Make linker command line compatible with tcc Fixes the following tcc error when linking: tcc: error: library '' not found caused by the way csc assembles the command line: '-l' 'chicken' (issue introduced in 860f8d764). --- csc.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csc.scm b/csc.scm index 099cde9b..90f95d4f 100644 --- a/csc.scm +++ b/csc.scm @@ -230,7 +230,7 @@ (list (default-library))) (define (shared-library-files) - (list "-l" (if host-mode INSTALL_LIB_NAME TARGET_LIB_NAME))) + (list (string-append "-l" (if host-mode INSTALL_LIB_NAME TARGET_LIB_NAME)))) (define translate-options '()) -- 2.47.3
