From 047b4b6072a4a80cddaaa74176bf063c98ef13cb Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 19 Jun 2011 15:47:12 -0600 Subject: [PATCH] note on cross-compilation --- src/README | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/README b/src/README index f68a8baec2..7dda3e5632 100644 --- a/src/README +++ b/src/README @@ -251,6 +251,21 @@ For a build without `--prefix' (or with `--enable-origtree') and without `--enable-shared', you can safely move the install tree, because all file references within the installation are relative. +======================================================================== + Cross-compiling +======================================================================== + +Cross-compilation requires at least two flags to `configure': + + * `--host=OS', where OS is something like `i386-gnu-linux' + + * `--enable-racket=RACKET', where RACKET is a path to a Racket + executable for the version being compiled that runs on the build + (i.e., you must compile on the build machine to cross-compile) + +The `--enable-racket' flag is needed because building and installing +Racket requires running (an intermediate version of) Racket. + ======================================================================== CGC versus 3m ========================================================================