racket/pkgs/racket-doc/scribblings/raco
Matthew Flatt c917434a86 improve cross-platform support
Detangle the target and host DLL and library directories by
making `get-lib-search-dirs` and `get-dll-dir` report the
host system's directories, and add `get-cross-lib-search-dirs`
and `get-cross-dll-dir`.

A new `-C`/`--cross` flag causes `racket` to save a host config and
collection directory and make them available via `(find-system-path
'host-{config,collects}-dir)`, while plus `(system-type 'cross)`
reports whether `-C` mode is in effect. Besides making the host paths
available, this change allows a same-platform build to run in
corss-platform mode.

The immediate problem to solve was the creation of Windows installers
on Windows, where recent changes to support 'gui-bin-dir configuration
need a clear distinction between the host Racket and the target Racket
being built, even if they're the same platform. (The "GRacket.exe"
executable didn't work, for example.)

The changes in this commit are more than needed for the immediate
problem, but they naturally build on the necessary `-C` flag, and they
support cross-platform package setup where native libraries are needed
during setup.
2017-04-25 08:31:26 -06:00
..
api.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00
bundle-api.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00
c-mods.scrbl raco ctools docs: improve xref docs and mention "cext-lib" package 2017-03-28 19:11:44 -06:00
cc.scrbl raco ctools docs: improve xref docs and mention "cext-lib" package 2017-03-28 19:11:44 -06:00
command.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00
common.rkt add cross-system-type and cross-system-library-subpath 2015-08-27 12:01:31 -06:00
config.scrbl add 'gui-bin-dir as a separate configuration option 2017-01-30 05:41:49 -07:00
ctool.scrbl reorganize docs for raco make-related APIs 2016-04-16 11:06:20 -06:00
decompile.scrbl document compiler/zo-struct changes for new bytecode form 2015-08-07 05:30:25 -06:00
demod.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00
dist-api.scrbl Fix history annotations to refer to 6.3. 2015-10-12 13:49:55 -05:00
dist.scrbl "Mac OS X" -> "Mac OS" 2016-12-23 12:18:36 -07:00
docs.scrbl
exe-api.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00
exe-dylib-path.scrbl "Mac OS X" -> "Mac OS" 2016-12-23 12:18:36 -07:00
exe.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00
expand.scrbl document raco read 2015-06-04 06:48:18 -06:00
ext.scrbl
info.rkt
info.scrbl The set of environment variables accessible via getenv is 2016-04-15 09:56:59 -06:00
launcher.scrbl add 'gui-bin-dir as a separate configuration option 2017-01-30 05:41:49 -07:00
link.scrbl
make.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00
pkg.scrbl
planet.scrbl
plt.scrbl
raco.scrbl document raco read 2015-06-04 06:48:18 -06:00
read.scrbl Fix name of command in docs. 2015-06-11 14:03:16 -05:00
scribble.scrbl
setup.scrbl improve cross-platform support 2017-04-25 08:31:26 -06:00
test.scrbl Add ignore-stderr submodule and test-ignore-stderrs "info.rkt" 2017-01-30 05:41:49 -07:00
unpack.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00
zo-parse.scrbl switch to set-of-scopes expander 2015-07-16 14:20:00 -06:00
zo-struct.scrbl document raco/all-tools, fix typos in raco documentation 2017-01-03 14:19:02 -05:00