Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/system/cmb-cross
ViewVC logotype

View of /sml/trunk/system/cmb-cross

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5378 - (download) (annotate)
Wed Jun 12 14:12:49 2019 UTC (15 months, 1 week ago) by jhr
File size: 595 byte(s)
adding cmb-cross script (again)
#!/bin/sh
#
# cross compile to specified target
#

function usage {
  echo "usage: cmb-cross <target>"
  echo "where <target> is one of amd64-unix, ppc-unix, sparc-unix, x86-unix, or x86-win32"
  exit 1
}

if [ $# -ne 1 ] ; then
  usage
fi

target=$1
case $target in
  amd64-unix) CMB=AMD64UnixCMB ;;
  ppc-unix) CMB=PPCUnixCMB ;;
  sparc-unix) CMB=SparcUnixCMB ;;
  x86-unix) CMB=X86UnixCMB ;;
  x86-win32) CMB=X86Win32CMB ;;
  *) echo "cmb-cross: unrecognized target '$target'"
     exit 1
  ;;
esac

unset VERSIONTOOL_BUMP_RELEASE

echo "$CMB.make();" | ../../bin/sml \$smlnj/compiler/all.cm

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0