~ chicken-core (chicken-5) d689ea3831f26716f4481fe85a7416929061c84f


commit d689ea3831f26716f4481fe85a7416929061c84f
Author:     felix <bunny351@gmail.com>
AuthorDate: Thu May 27 09:02:27 2010 +0200
Commit:     felix <bunny351@gmail.com>
CommitDate: Thu May 27 09:02:27 2010 +0200

    documentation fixes; applied change by mario to README

diff --git a/README b/README
index 88af12ea..7413a6cc 100644
--- a/README
+++ b/README
@@ -69,12 +69,12 @@
 	*not* supported.
 
         If you build CHICKEN directly from the development sources out
-        of the subversion repository, you will need a "chicken"
-        executable to generate the compiled C files from the Scheme
-        library sources. If you have a recent version of CHICKEN
-        installed, then pass "CHICKEN=<chicken-executable>" to the
-        "make" invocation to override this setting. "CHICKEN" defaults
-        to "$PREFIX/bin/chicken".
+        of the git repository, you will need a "chicken" executable to
+        generate the compiled C files from the Scheme library
+        sources. If you have a recent version of CHICKEN installed,
+        then pass "CHICKEN=<chicken-executable>" to the "make"
+        invocation to override this setting. "CHICKEN" defaults to
+        "$PREFIX/bin/chicken".
 
         If you do not have a "chicken" binary installed, you will have
 	to obtain a "bootstrapping" compiler, which can either be
diff --git a/manual/Cross development b/manual/Cross development
index c0d90dfd..3920fb0f 100644
--- a/manual/Cross development	
+++ b/manual/Cross development	
@@ -230,6 +230,21 @@ Next, build and install it for the target:
   % ~/cross-chicken/arm-chicken-status
   matchable
 
+=== "Target-only" extensions
+
+Sometimes an extension will only be compilable for the target platform
+(for example libraries that use system-dependent features). In this
+case you will have to work around the problem that the host-compiler
+still may need compile-time information from the target-only
+extension, like the import library of modules. One option is to copy
+the import-library into the repository of the host compiler:
+
+{{
+# optionally, you can compile the import library:
+# ~/cross-chicken/arm-csc -O3 -d0 -s target-only-extension.import.scm
+cp target-only-extension.import.scm ~/cross-chicken/lib/chicken/5
+}}
+
 === Final notes
 
 Cross-development is a tricky process - it often involves countless
diff --git a/rules.make b/rules.make
index d0d146cd..8735cb9f 100644
--- a/rules.make
+++ b/rules.make
@@ -1088,7 +1088,7 @@ stage3:
 	  CHICKEN=./$(CHICKEN_PROGRAM)-stage2 \
 	  confclean clean all
 
-# build current head in suib-directory
+# build current head in sub-directory
 
 .PHONY: buildhead
 
Trap