Teach cross-SF/CREF to dump/load in .nib, .txe, .dkp.
authorTaylor R Campbell <campbell@mumble.net>
Tue, 11 Dec 2018 15:52:07 +0000 (15:52 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Tue, 11 Dec 2018 15:52:07 +0000 (15:52 +0000)
commitdc21a9094a5107ca7e2c8645cb5ebef8da70dd19
tree54103b24ab9d9e6e1cceaa0e18230c86b1005335
parentbced7a201459654db4193c5539fac9b54e323d08
Teach cross-SF/CREF to dump/load in .nib, .txe, .dkp.

These correspond to .bin, .ext, .pkd.  LOAD-OPTION still loads from
.bin, .ext, .pkd (and .com) for libraries that are installed and are
not macro definitions of subsystems being cross-compiled.

This backwards suffix business is getting a little out of hand.
Possible partial alternatives:

- .xbin/.xext/.xpkd

- invent a static linker in the toolchain that can run on the cross
  host rather than using make.scm and disk-save in the cross target

- devise a portable fasload that sf/cref can use in the cross host

- use a machine-independent file format for .bin/.ext/.pkd
18 files changed:
src/Makefile.in
src/compiler/base/toplev.scm
src/compiler/machines/C/compiler.sf
src/compiler/machines/C/decls.scm
src/compiler/machines/i386/decls.scm
src/compiler/machines/svm/compiler.sf
src/compiler/machines/svm/decls.scm
src/compiler/machines/x86-64/decls.scm
src/cref/redpkg.scm
src/runtime/load.scm
src/runtime/make.scm
src/runtime/option.scm
src/runtime/packag.scm
src/runtime/runtime.pkg
src/sf/butils.scm
src/sf/sf.pkg
src/sf/toplev.scm
src/win32/win32.sf