racket/racket/collects/compiler/cross.rkt
Bogdan Popa c1159fb02e
cs: add support for cross-compiling to iOS
Includes documentation notes about cross-compiling CS for iOS
and makefile improvements.

The changes also include improvements to `raco exe`.
Racket CS cannot currently read fasl files for platforms other than
the host, but `compiler/embed` has to be able to read compiled code in
order to figure out what code needs to be embedded into an output
image and which runtime paths need to be included.  This change makes
it so that host code is used to figure all of that information out,
but that code is then replaced by target machine code before it is
written to the output image. The new logic only applies when the
right cross-compilation flags are set (per `cross-multi-compile?`).
2021-01-17 08:16:02 -07:00

9 lines
209 B
Racket

#lang racket/base
(require "private/cm-minimal.rkt")
(provide
;; Publicly re-provide cross-multi-compile? for tools that need to be
;; aware of cross-multi mode (like `raco setup').
cross-multi-compile?)