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 106, Thu May 28 21:30:17 1998 UTC revision 113, Fri Jun 5 19:41:21 1998 UTC
# Line 1  Line 1 
1  #!/bin/ksh  #!/bin/ksh
2  #  #
3    
 ELAB=""  
4  FULL=""  FULL=""
5  ALLOC=1M  ALLOC=1M
6    
# Line 13  Line 12 
12  RUN=""  RUN=""
13  RUN_ARGS=""  RUN_ARGS=""
14  SET_FLAGS=""  SET_FLAGS=""
15    REBUILD=""
16    
17  #  #
18  # use the arch-n-opsys script to determine the ARCH/OS if possible  # use the arch-n-opsys script to determine the ARCH/OS if possible
# Line 28  Line 28 
28  do  do
29    arg=$1; shift    arg=$1; shift
30    case $arg in    case $arg in
     -elab) ELAB="@SMLelab" ;;  
31      -full) FULL="@SMLfull" ;;      -full) FULL="@SMLfull" ;;
32        -rebuild)
33          if [ "$#" = "0" ]; then
34            echo "makeml: missing argument for \"-rebuild\" option"
35            exit 1
36          fi
37          REBUILD="@SMLrebuild=$1"; shift
38        ;;
39      -arch)      -arch)
40        if [ "$#" = "0" ]; then        if [ "$#" = "0" ]; then
41          echo "makeml: missing argument for \"-arch\" option"          echo "makeml: missing argument for \"-arch\" option"
# Line 117  Line 123 
123    ln -s $BOOT_DIR ./bin.$ARCH-unix    ln -s $BOOT_DIR ./bin.$ARCH-unix
124  fi  fi
125    
126  #echo "$RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $ELAB $FULL -b $BOOT_DIR"  #echo "$RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $FULL -b $BOOT_DIR"
127  #$RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $ELAB $FULL -b $BOOT_DIR <<XXXX  #$RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $FULL -b $BOOT_DIR <<XXXX
128  echo "$RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $ELAB $FULL"  echo "$RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $FULL $REBUILD"
129        $RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $ELAB $FULL <<XXXX        $RUN @SMLboot=$BOOT_DIR @SMLalloc=$ALLOC $RUN_ARGS $FULL $REBUILD <<XXXX
130  $SET_FLAGS  $SET_FLAGS
131  val use = Compiler.Interact.useFile;  val use = Compiler.Interact.useFile;
132  val _ = (SMLofNJ.exportML "$HEAP_IMAGE";  val _ = (SMLofNJ.exportML "$HEAP_IMAGE";
133           print Compiler.banner; print "\n");           print Compiler.banner;
134             print "\n");
135  XXXX  XXXX
136    
137  if [ -L ./bin.$ARCH-unix ]; then  if [ -L ./bin.$ARCH-unix ]; then

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

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