~ chicken-core (chicken-5) cca42e017be8527391949c110ea9b579a1416fbc
commit cca42e017be8527391949c110ea9b579a1416fbc
Author: unknown <felix@.(none)>
AuthorDate: Wed Oct 28 16:13:01 2009 +0100
Commit: unknown <felix@.(none)>
CommitDate: Wed Oct 28 16:13:01 2009 +0100
renamed -host-extension in chicken-install to -host, the old option is deprecated
diff --git a/chicken-install.scm b/chicken-install.scm
index 08faf100..3ad7723a 100644
--- a/chicken-install.scm
+++ b/chicken-install.scm
@@ -386,7 +386,7 @@ usage: chicken-install [OPTION | EXTENSION[:VERSION]] ...
-r -retrieve only retrieve egg into current directory, don't install
-n -no-install do not install, just build (implies `-keep')
-p -prefix PREFIX change installation prefix to PREFIX
- -host-extension when cross-compiling, compile extension for host
+ -host when cross-compiling, compile extension for host
-test run included test-cases, if available
-username USER set username for transports that require this
-password PASS set password for transports that require this
@@ -471,7 +471,8 @@ EOF
((string=? "-test" arg)
(set! *run-tests* #t)
(loop (cdr args) eggs))
- ((string=? "-host-extension" arg)
+ ((or (string=? "-host" arg)
+ (string=? "-host-extension" arg)) ; DEPRECATED
(set! *host-extension* #t)
(loop (cdr args) eggs))
((string=? "-username" arg)
diff --git a/manual/Extensions b/manual/Extensions
index 55c3d6f8..ce545c03 100644
--- a/manual/Extensions
+++ b/manual/Extensions
@@ -317,7 +317,7 @@ or is of a version older than the one specified.
For a cross-compiling CHICKEN, when compiling an extension, then it
should be built for the host environment (as opposed to the target
-environment). This parameter is controlled by the {{-host-extension}} command-line
+environment). This parameter is controlled by the {{-host}} command-line
option. A setup script should perform the proper steps of compiling any
code by passing {{-host}} when invoking {{csc}} or using the {{compile}}
macro.
@@ -453,7 +453,7 @@ Available options:
; {{-r -retrieve}} : only retrieve egg into current directory, don't install
; {{-n -no-install}} : do not install, just build (implies {{-keep}})
; {{-p -prefix PREFIX}} : change installation prefix to {{PREFIX}}
-; {{-host-extension}} : when cross-compiling, compile extension for host
+; {{-host}} : when cross-compiling, compile extension for host
; {{-test}} : run included test-cases, if available
; {{-username USER}} : set username for transports that require this
; {{-password PASS}} : set password for transports that require this
Trap