racket/pkgs/racket-doc/scribblings
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
..
foreign Fix typo in struct section 2017-01-10 13:02:21 -06:00
getting-started "Mac OS X" -> "Mac OS" 2016-12-23 12:18:36 -07:00
guide the "I don't konw what name to give" name has changed; update the guide to reflect that 2017-04-13 09:37:25 -05:00
inside raco ctools docs: improve xref docs and mention "cext-lib" package 2017-03-28 19:11:44 -06:00
more update "More" now that xrepl is on by default 2016-10-15 07:28:43 -06:00
raco improve cross-platform support 2017-04-25 08:31:26 -06:00
reference improve cross-platform support 2017-04-25 08:31:26 -06:00
scheme remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
style adjust scribbling style guide for new location 2017-01-06 11:58:39 -06:00
finger.png remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
icons.css remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
icons.rkt remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
icons.tex remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
info.rkt remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
magnify.png remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00