From 0d55f1aa88048a162eb8d5f6a67fd029ed9d89d2 Mon Sep 17 00:00:00 2001 From: Kambiz Darabi Date: Wed, 3 Jun 2015 08:34:03 +0200 Subject: [PATCH] Document make-config's --host-location switch --- INSTALL | 3 ++- make-config.sh | 13 +++++++++++++ make.sh | 5 +++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 378515b..65fa4d7 100644 --- a/INSTALL +++ b/INSTALL @@ -139,7 +139,8 @@ INSTALLING SBCL If you don't already have an SBCL binary installed as "sbcl" on your system, you'll need to tell make.sh what Lisp to use as the - cross-compilation host. For example, to use CMUCL (assuming has + cross-compilation host (cf. make.sh for detailed instructions on + how to cross compile). For example, to use CMUCL (assuming has been installed under its default name "lisp") as the cross-compilation host: diff --git a/make-config.sh b/make-config.sh index fb4732f..2f4cecf 100755 --- a/make-config.sh +++ b/make-config.sh @@ -210,6 +210,19 @@ Options: Use an existing CMU CL binary as a cross-compilation host when you have weird things in your .cmucl-init file. + + --host-location= Location of the source directory on compilation host + + The string is passed to the command rsync to transfer the + necessary files between the target and host directories during + the make-target-*.sh steps of cross-compilation (cf. make.sh) + + Examples: + + user@host-machine:/home/user/sbcl + Transfer the files to/from directory /home/user/sbcl + on host-machine. + EOF exit 1 fi diff --git a/make.sh b/make.sh index a82b3c2..0b496ed 100755 --- a/make.sh +++ b/make.sh @@ -64,6 +64,11 @@ tools-for-build/canonicalize-whitespace # Or, if you can set up the files somewhere shared (with NFS, AFS, or # whatever) between the host machine and the target machine, the basic # procedure above should still work, but you can skip the "copy" steps. +# If you can use rsync on the host machine, you can call make-config.sh +# with: +# --host-location=user@host-machine: +# and the make-target-*.sh scripts will take care of transferring the +# necessary files. time sh make-host-1.sh time sh make-target-1.sh time sh make-host-2.sh -- 1.9.1