Changes to allow multiple architecture binaries to co-exist in the
authorChris Hanson <org/chris-hanson/cph>
Thu, 5 Nov 2009 08:24:37 +0000 (00:24 -0800)
committerChris Hanson <org/chris-hanson/cph>
Thu, 5 Nov 2009 08:24:37 +0000 (00:24 -0800)
commit8bec5821618f74c727ef03d17b13cf0a46b1e45f
treec207b74961de6a75ff19d06374f746bf525fd86f
parentb42c51ecbdea10cb8a06ae5f77afae7a1afcf128
Changes to allow multiple architecture binaries to co-exist in the
same file system.  In MacOS X, for example, both the i386 and x86-64
architectures can be used, so it's useful to have both available for
development work, if nothing else.

* Change primary executable name and library name to
  "mit-scheme-ARCH".

* Create a new shell script in the microcode that implements the
  decision logic for choosing a target architecture, based on the host
  architecture and the --enable-native-code argument.  Use this script
  in both the top-level configure file and the microcode configure
  file, so that they agree on the architecture and the corresponding
  names.

* Add logic to create an executable symlink "mit-scheme-native"
  pointing to a native-code executable.  This name is used when we
  need a native-code implementation but don't care which one.  (It's
  also for compatibility.)

* Rework several shell scripts to make them more portable, using the
  autoconf shell portability recommendations.
src/Makefile.in
src/compiler/choose-machine.sh
src/config.guess [new file with mode: 0755]
src/config.sub [new file with mode: 0755]
src/configure.ac
src/etc/create-makefiles.sh
src/etc/install-bin-symlinks.sh
src/etc/utilities.scm
src/microcode/choose-arch.sh [new file with mode: 0755]
src/microcode/configure.ac