From f2cf940aa686862d43f73bd34b70cf6cfc18d358 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 28 Jun 2025 09:28:31 +0300 Subject: [PATCH] Update readme --- README.md | 23 +++++++++++++++------ documentation/foreign-c.html | 38 +++++++++++++++++++---------------- documentation/foreign-c.pdf | Bin 46425 -> 46401 bytes 3 files changed, 38 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 47dad40..a584bb2 100644 --- a/README.md +++ b/README.md @@ -88,15 +88,24 @@ Required versions: - Chibi > 0.11 - At the only 0.11 is out so build from git - Chicken >= 5.4.0 < 6 +- Gauche >= 0.9.15 + - Does not yet work with snow-chibi install - Guile >= 3 + - Does not yet work with snow-chibi install - Has include bug, might not work on all situations - Kawa >= 3.11 and Java >= 22 - - Needs arguments + - Needs arguments to enable FFI - -J--add-exports=java.base/jdk.internal.foreign.abi=ALL-UNNAMED - -J--add-exports=java.base/jdk.internal.foreign.layout=ALL-UNNAMED - -J--add-exports=java.base/jdk.internal.foreign=ALL-UNNAMED - -J--enable-native-access=ALL-UNNAMED - -J--enable-preview + - So that snow-chibi installed library is found + - -Dkawa.import.path=/usr/local/share/kawa + - -Dkawa.import.path=/usr/local/share/kawa/lib +- Mosh >= 0.2.9-rc1 +- Racket >= 8.16 [cs] +- Sagittarius >= 0.9.13 - STklos > 2.10 - At the time only 2.10 is out so build from git @@ -152,13 +161,15 @@ Required versions: [https://snow-fort.org/](https://snow-fort.org/) -Installable with snow-chibi for following implementations. +snow-chibi --impls=IMPLEMENTATION install "(foreign c)" -- Chibi -- Kawa -- STklos +You can test that library is found by your implementation like this: -### Manul + cp tests/hello.scm /tmp/hello.scm + cd /tmp + IMPLEMENTATION hello.scm + +### Manual Either download the latest release from [https://git.sr.ht/~retropikzel/foreign-c/refs](https://git.sr.ht/~retropikzel/foreign-c/refs) diff --git a/documentation/foreign-c.html b/documentation/foreign-c.html index ffa34c6..b088fdf 100644 --- a/documentation/foreign-c.html +++ b/documentation/foreign-c.html @@ -107,8 +107,13 @@ Schemes - 0.10.0
  • At the only 0.11 is out so build from git
  • Chicken >= 5.4.0 < 6
  • +
  • Gauche >= 0.9.15 +
  • Guile >= 3
  • Kawa >= 3.11 and Java >= 22 @@ -122,6 +127,9 @@ Schemes - 0.10.0
  • -J–enable-preview
  • +
  • Mosh >= 0.2.9-rc1
  • +
  • Racket
  • +
  • Sagittarius
  • STklos > 2.10