~ chicken-core (chicken-5) 38c7328f6ae37954c7127fcf39f72e361bd7f78c
commit 38c7328f6ae37954c7127fcf39f72e361bd7f78c Author: felix <felix@call-with-current-continuation.org> AuthorDate: Thu Mar 25 14:47:52 2010 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Thu Mar 25 14:47:52 2010 +0100 manual fixes (thanks to Joerg Wittenberger) diff --git a/manual/Extensions b/manual/Extensions index 6c25f6c4..030b922f 100644 --- a/manual/Extensions +++ b/manual/Extensions @@ -131,7 +131,7 @@ Specifies version string. If the extension also provides a static library, then STRING should contain the name of that library. Used by {{csc}} when compiling with -the {{-static-extensions}} option. +the {{-static-extension}} option. ===== static-options @@ -139,7 +139,7 @@ the {{-static-extensions}} option. Additional options that should be passed to the linker when linking with the static version of an extension (see {{static}} above). Used -by {{csc}} when compiling with the {{-static-extensions}} option. +by {{csc}} when compiling with the {{-static-extension}} option. All other properties are currently ignored. The {{FILELIST}} argument may also be a single string. @@ -542,7 +542,7 @@ library (in addition to the usual shared library) in your {{.setup}} script and install it along with the dynamically loadable extension. The setup properties {{static}} should contain the name of the object file (or static library) to be -linked, when {{csc}} gets passed the {{-static-extensions}} option: +linked, when {{csc}} gets passed the {{-static-extension}} option: <enscript highlight=scheme> (compile -s -O2 -d1 my-ext.scm) ; dynamically loadable "normal" version @@ -560,7 +560,7 @@ not do that for the {{static}} extension property. To actually link with the static version of {{my-ext}}, do: - % csc -static-extensions my-program.scm -uses my-ext + % csc -static-extension my-ext my-program.scm The compiler will try to do the right thing, but can not handle all extensions, since the ability to statically link eggs is relativelyTrap