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 /config/trunk/install.sh
ViewVC logotype

Diff of /config/trunk/install.sh

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

revision 470, Wed Nov 10 22:42:52 1999 UTC revision 504, Tue Dec 7 18:31:05 1999 UTC
# Line 13  Line 13 
13  #  #
14  if [ ! -r config/targets ]; then  if [ ! -r config/targets ]; then
15    echo "!!! File config/targets is missing."    echo "!!! File config/targets is missing."
16    exit 1;      exit 1
17  fi  fi
18  . config/targets  . config/targets
19    
20  #  #
21    # create the preloads.standard file
22    #
23    if [ ! -r config/preloads ]; then
24        echo "!!! File config/preloads is missing."
25        exit 1
26    fi
27    cp config/preloads preloads.standard
28    
29    #
30  # some OSs have make in strange places  # some OSs have make in strange places
31  #  #
32  MAKE=make  MAKE=make
# Line 56  Line 65 
65  LIBDIR=$INSTALLDIR/lib          # where libraries live  LIBDIR=$INSTALLDIR/lib          # where libraries live
66  LIBLIST=$ROOT/liblist           # list of commands to stabilize libraries  LIBLIST=$ROOT/liblist           # list of commands to stabilize libraries
67  LIBMOVESCRIPT=$ROOT/libmove     # a temporary script  LIBMOVESCRIPT=$ROOT/libmove     # a temporary script
68  LOCALPATHCONFIG=$ROOT/pathconfig # a temporary pathconfig file  LOCALPATHCONFIG=$INSTALLDIR/pathconfig # a temporary pathconfig file
69    
70  #  #
71  # the paths to ml-yacc, ml-burg, and ml-lex; needed to configure CM  # the paths to ml-yacc, ml-burg, and ml-lex; needed to configure CM
# Line 305  Line 314 
314  #  #
315  # the name of the bin files directory  # the name of the bin files directory
316  #  #
317  BOOT_FILES=comp.boot.$ARCH-unix  BOOT_FILES=sml.boot.$ARCH-unix
318    
319  #  #
320  # build the run-time system  # build the run-time system
# Line 317  Line 326 
326    $MAKE -f mk.$ARCH-$OPSYS $EXTRA_DEFS    $MAKE -f mk.$ARCH-$OPSYS $EXTRA_DEFS
327    if [ -x run.$ARCH-$OPSYS ]; then    if [ -x run.$ARCH-$OPSYS ]; then
328      mv run.$ARCH-$OPSYS $RUNDIR      mv run.$ARCH-$OPSYS $RUNDIR
329      $MAKE MAKE=$MAKE clean      # $MAKE MAKE=$MAKE clean
330    else    else
331      echo "!!! Run-time system build failed for some reason."      echo "!!! Run-time system build failed for some reason."
332      exit 1      exit 1
# Line 353  Line 362 
362              movelibs $ROOT/$BOOT_FILES/$lib $lib              movelibs $ROOT/$BOOT_FILES/$lib $lib
363          done          done
364          cd $ROOT          cd $ROOT
365          rm -rf $BOOT_FILES          # rm -rf $BOOT_FILES
366    
367      else      else
368          echo "!!! Boot code did not produce heap image (sml.$HEAP_SUFFIX)."          echo "!!! Boot code did not produce heap image (sml.$HEAP_SUFFIX)."
# Line 380  Line 389 
389  for i in $TARGETS ; do  for i in $TARGETS ; do
390      case $i in      case $i in
391        src-smlnj)        src-smlnj)
392          for src in compiler comp-lib cm MLRISC smlnj-lib ml-yacc system          for src in compiler cm MLRISC smlnj-lib ml-yacc system
393          do          do
394              unpack $src $ROOT/src $src $ROOT/$VERSION-$src              unpack $src $ROOT/src $src $ROOT/$VERSION-$src
395          done          done
# Line 400  Line 409 
409          # Don't make the Util library -- it came pre-made and has been          # Don't make the Util library -- it came pre-made and has been
410          # installed when making the base system.  In other words, don't do...          # installed when making the base system.  In other words, don't do...
411              #reglib smlnj-lib.cm smlnj-lib/Util              #reglib smlnj-lib.cm smlnj-lib/Util
412            # ... and don't make the HTML library ...
413                #reglib html-lib.cm smlnj-lib/HTML
414            # ... and don't make the PP library ...
415                #reglib pp-lib.cm smlnj-lib/PP
416          # make the Unix library          # make the Unix library
417              reglib unix-lib.cm smlnj-lib/Unix              reglib unix-lib.cm smlnj-lib/Unix
418          # make the INet library          # make the INet library
419              reglib inet-lib.cm smlnj-lib/INet              reglib inet-lib.cm smlnj-lib/INet
         # make the HTML library  
             reglib html-lib.cm smlnj-lib/HTML  
         # make the PP library  
             reglib pp-lib.cm smlnj-lib/PP  
420          # make the RegExp library          # make the RegExp library
421              reglib regexp-lib.cm smlnj-lib/RegExp              reglib regexp-lib.cm smlnj-lib/RegExp
422          # make the Reactive library          # make the Reactive library
# Line 464  Line 473 
473      rm -f $LIBMOVESCRIPT      rm -f $LIBMOVESCRIPT
474  fi  fi
475    
476    #
477    # Get rid of preloads.standard
478    #
479    rm -f preloads.standard

Legend:
Removed from v.470  
changed lines
  Added in v.504

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