Closed robsimmons closed 13 years ago
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" <<EOF #! /bin/sh exec "$1" @SMLload="$v/bin/.heapimg" "\$@" EOF chmod a+x "$2/bin/$3"
Seems to work?
Karl asked me to use the following .mkexec on Windows machines, though it may or may not work with "Cygwinned sml".