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/trunk/config/_ml-build
ViewVC logotype

Diff of /sml/trunk/config/_ml-build

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

revision 1494, Thu May 20 03:09:17 2004 UTC revision 1656, Wed Oct 20 20:05:45 2004 UTC
# Line 43  Line 43 
43      esac      esac
44  done  done
45    
46  if [ $# != 3 ] ; then  if [ $# = 3 ] ; then
47      usage wrong number of arguments      setup=
 fi  
   
48  root=$1  root=$1
49  main=$2  main=$2
50  heap=$3  heap=$3
51    elif [ $# = 4 ] ; then
52        setup=$1
53        root=$2
54        main=$3
55        heap=$4
56    else
57        usage wrong number of arguments
58    fi
59    
60  rare=XYZ_XXX_0123  rare=XYZ_XXX_0123
61    
# Line 65  Line 71 
71  # Unless the heap image exists and is up-to-date CM will write the arguments  # Unless the heap image exists and is up-to-date CM will write the arguments
72  # for the link script into $linkargsfile.  # for the link script into $linkargsfile.
73  # (See src/cm/main/cm-boot.sml [function "mlbuild"] for details.)  # (See src/cm/main/cm-boot.sml [function "mlbuild"] for details.)
74  if $SML $dulist @CMbuild $root $cmfile $heap $listfile $linkargsfile ; then  if $SML $dulist @CMbuild $setup $root $cmfile $heap $listfile $linkargsfile
75    then
76      if [ -r $linkargsfile ]; then      if [ -r $linkargsfile ]; then
77          $LINK `cat $linkargsfile`          $LINK `cat $linkargsfile`
78      fi      fi

Legend:
Removed from v.1494  
changed lines
  Added in v.1656

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