From 37ec122054c42952dd61f74eb4f535f3a44c0e7c Mon Sep 17 00:00:00 2001 From: Pavel Kulyov Date: Fri, 31 Oct 2025 15:57:32 +0300 Subject: [PATCH] readme: add docs about static compilation --- Readme.org | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Readme.org b/Readme.org index fc041b4..bcdc5cc 100644 --- a/Readme.org +++ b/Readme.org @@ -21,7 +21,16 @@ https://wiki.call-cc.org/man/5/Extension%20tools#changing-the-repository-locatio ~chicken-install `cat dependencies.txt`~ ** Compilation -~make~ +#+begin_src sh + make +#+end_src + +** Static compilation +If you want to make a self-contained binary, you'll need `chicken` with `libchicken.a` installed. + +#+begin_src sh + CSC_FLAGS=-static make +#+end_src * Usage ** Summary