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

SCM Repository

[smlnj] Diff of /sml/branches/SMLNJ/src/compiler/makeml
ViewVC logotype

Diff of /sml/branches/SMLNJ/src/compiler/makeml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 91, Tue May 12 21:55:42 1998 UTC revision 106, Thu May 28 21:30:17 1998 UTC
# Line 32  Line 32 
32      -full) FULL="@SMLfull" ;;      -full) FULL="@SMLfull" ;;
33      -arch)      -arch)
34        if [ "$#" = "0" ]; then        if [ "$#" = "0" ]; then
35          echo "xmakeml: missing argument for \"-arch\" option"          echo "makeml: missing argument for \"-arch\" option"
36          exit 1          exit 1
37        fi        fi
38        ARCH=$1; shift        ARCH=$1; shift
39      ;;      ;;
40      -opsys)      -opsys)
41        if [ "$#" = "0" ]; then        if [ "$#" = "0" ]; then
42          echo "xmakeml: missing argument for \"-opsys\" option"          echo "makeml: missing argument for \"-opsys\" option"
43          exit 1          exit 1
44        fi        fi
45        OPSYS=$1; shift        OPSYS=$1; shift
46      ;;      ;;
47      -o)      -o)
48        if [ "$#" = "0" ]; then        if [ "$#" = "0" ]; then
49          echo "xmakeml: missing argument for \"-o\" option"          echo "makeml: missing argument for \"-o\" option"
50          exit 1          exit 1
51        fi        fi
52        HEAP_IMAGE=$1; shift        HEAP_IMAGE=$1; shift
53      ;;      ;;
54      -run)      -run)
55        if [ "$#" = "0" ]; then        if [ "$#" = "0" ]; then
56          echo "xmakeml: missing argument for \"-run\" option"          echo "makeml: missing argument for \"-run\" option"
57          exit 1          exit 1
58        fi        fi
59        RUN=$1; shift        RUN=$1; shift
60      ;;      ;;
61      -alloc)      -alloc)
62        if [ "$#" = "0" ]; then        if [ "$#" = "0" ]; then
63          echo "xmakeml: missing argument for \"-alloc\" option"          echo "makeml: missing argument for \"-alloc\" option"
64          exit 1          exit 1
65        fi        fi
66        ALLOC=$1; shift        ALLOC=$1; shift
67      ;;      ;;
68      -boot)      -boot)
69        if [ "$#" = "0" ]; then        if [ "$#" = "0" ]; then
70          echo "xmakeml: missing argument for \"-boot\" option"          echo "makeml: missing argument for \"-boot\" option"
71          exit 1          exit 1
72        fi        fi
73        BOOT_DIR=$1; shift        BOOT_DIR=$1; shift
# Line 75  Line 75 
75      @SML*)      @SML*)
76        RUN_ARGS="$RUN_ARGS $arg"        RUN_ARGS="$RUN_ARGS $arg"
77      ;;      ;;
78      *) echo "xmakeml: unknown argument \"$arg\""      *) echo "makeml: unknown argument \"$arg\""
79         exit 1         exit 1
80      ;;      ;;
81    esac    esac
# Line 96  Line 96 
96    elif [ -x "$OBJS_DIR/$RUN_CMD" ]; then    elif [ -x "$OBJS_DIR/$RUN_CMD" ]; then
97      RUN="$OBJS_DIR/$RUN_CMD"      RUN="$OBJS_DIR/$RUN_CMD"
98    else    else
99      echo "xmakeml: unable to find run-time system \"$RUN_CMD\""      echo "makeml: unable to find run-time system \"$RUN_CMD\""
100      exit 1      exit 1
101    fi    fi
102  fi  fi
# Line 122  Line 122 
122  echo "$RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $ELAB $FULL"  echo "$RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $ELAB $FULL"
123        $RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $ELAB $FULL <<XXXX        $RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $ELAB $FULL <<XXXX
124  $SET_FLAGS  $SET_FLAGS
125  val use = Compiler.Interact.useFile  val use = Compiler.Interact.useFile;
126  val _ = (SMLofNJ.exportML "$HEAP_IMAGE";  val _ = (SMLofNJ.exportML "$HEAP_IMAGE";
127           print Compiler.banner; print "\n");           print Compiler.banner; print "\n");
128  XXXX  XXXX

Legend:
Removed from v.91  
changed lines
  Added in v.106

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