standardml/smackage — Issue #7: Test and use different cygwin file for smackage on "win" platform
Author: robsimmons
Created: 2011-10-26 13:50:19+00:00
State: open

Karl asked me to use the following .mkexec on Windows machines, though it may or may not work with "Cygwinned sml".

#! /bin/sh
#
# Batch File Creator
#
# Arguments:
# $1 = SMLNJ runtime
# $2 = Parent directory of bin (which contains binaries and heap image)
# $3 = Name of executable (e.g. celf)
v=`cygpath -w $2`
cat > "$2/bin/$3" <