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 1261, Tue Jul 23 15:45:45 2002 UTC revision 1342, Mon Aug 11 20:46:00 2003 UTC
# Line 19  Line 19 
19  smlfile=$xx-export.sml  smlfile=$xx-export.sml
20  cmfile=$xx-export.cm  cmfile=$xx-export.cm
21  listfile=$xx-BOOTLIST  listfile=$xx-BOOTLIST
22    linkargsfile=$xx-LINKARGS
23    
24  dulist=''  dulist=''
25    
26  trap 'rm -rf `find . -name $smlfile` $cmfile $listfile' 0 1 2 3 15  trap 'rm -rf $smlfile $cmfile $listfile $linkargsfile' 0 1 2 3 15
27    
28  usage() {  usage() {
29      echo ${thisscript}: $*      echo ${thisscript}: $*
# Line 61  Line 62 
62  EOF  EOF
63    
64  # Invoke sml with special option that causes CM to do its magic.  # Invoke sml with special option that causes CM to do its magic.
65  # (See src/cm/main/cm-boot.sml [function "mlbuild"] to see what's  # Unless the heap image exists and is up-to-date CM will write the arguments
66  # going on.)  # for the link script into $linkargsfile.
67  $SML $dulist @CMbuild $root $cmfile $heap $listfile $LINK  # (See src/cm/main/cm-boot.sml [function "mlbuild"] for details.)
68    if $SML $dulist @CMbuild $root $cmfile $heap $listfile $linkargsfile ; then
69        if [ -r $linkargsfile ]; then
70            $LINK `cat $linkargsfile`
71        fi
72    fi
73    
74  exit $?  exit $?

Legend:
Removed from v.1261  
changed lines
  Added in v.1342

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