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/releases/release-110.60/install.sh
ViewVC logotype

Diff of /config/releases/release-110.60/install.sh

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

revision 489, Tue Nov 23 12:55:00 1999 UTC revision 526, Thu Jan 13 06:07:45 2000 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 59  Line 68 
68  LOCALPATHCONFIG=$INSTALLDIR/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 path to the dir where ml-yacc, ml-burg, and ml-lex live
72  #  #
73  YACCPATH=$BINDIR/ml-yacc  TOOLDIR=$BINDIR
 LEXPATH=$BINDIR/ml-lex  
 BURGPATH=$BINDIR/ml-burg  
74    
75  #  #
76  # set the CM configuration variables (these are environment variables  # set the CM configuration variables (these are environment variables
77  # that will be queried by the bootstrap code)  # that will be queried by the bootstrap code)
78  # Especially important is CM_PATHCONFIG_DEFAULT.  # Especially important is CM_PATHCONFIG_DEFAULT.
79  #  #
 CM_YACC_DEFAULT=$YACCPATH  
 CM_LEX_DEFAULT=$LEXPATH  
 CM_BURG_DEFAULT=$BURGPATH  
80  CM_PATHCONFIG_DEFAULT=$LIBDIR/pathconfig  CM_PATHCONFIG_DEFAULT=$LIBDIR/pathconfig
81  export CM_YACC_DEFAULT CM_LEX_DEFAULT CM_BURG_DEFAULT CM_PATHCONFIG_DEFAULT  export CM_PATHCONFIG_DEFAULT
82    
83  #  #
84  # the release version that we are installing  # the release version that we are installing
# Line 305  Line 309 
309  #  #
310  # the name of the bin files directory  # the name of the bin files directory
311  #  #
312  BOOT_FILES=comp.boot.$ARCH-unix  BOOT_FILES=sml.boot.$ARCH-unix
313    
314  #  #
315  # build the run-time system  # build the run-time system
# Line 380  Line 384 
384  for i in $TARGETS ; do  for i in $TARGETS ; do
385      case $i in      case $i in
386        src-smlnj)        src-smlnj)
387          for src in compiler comp-lib cm MLRISC smlnj-lib ml-yacc system          for src in compiler cm MLRISC smlnj-lib ml-yacc system
388          do          do
389              unpack $src $ROOT/src $src $ROOT/$VERSION-$src              unpack $src $ROOT/src $src $ROOT/$VERSION-$src
390          done          done
391          ;;          ;;
392        ml-yacc)        ml-yacc)
393          standalone ml-yacc ML-Yacc src          standalone ml-yacc ML-Yacc src
394            echo ml-yacc $TOOLDIR >>$CM_PATHCONFIG_DEFAULT
395          ;;          ;;
396        ml-lex)        ml-lex)
397          standalone ml-lex ML-Lex          standalone ml-lex ML-Lex
398            echo ml-lex $TOOLDIR >>$CM_PATHCONFIG_DEFAULT
399          ;;          ;;
400        ml-burg)        ml-burg)
401          standalone ml-burg ML-Burg          standalone ml-burg ML-Burg
402            echo ml-burg $TOOLDIR >>$CM_PATHCONFIG_DEFAULT
403          ;;          ;;
404        smlnj-lib)        smlnj-lib)
405          unpack "SML/NJ Library" $SRCDIR smlnj-lib $ROOT/$VERSION-smlnj-lib          unpack "SML/NJ Library" $SRCDIR smlnj-lib $ROOT/$VERSION-smlnj-lib
# Line 400  Line 407 
407          # 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
408          # installed when making the base system.  In other words, don't do...          # installed when making the base system.  In other words, don't do...
409              #reglib smlnj-lib.cm smlnj-lib/Util              #reglib smlnj-lib.cm smlnj-lib/Util
410            # ... and don't make the HTML library ...
411                #reglib html-lib.cm smlnj-lib/HTML
412            # ... and don't make the PP library ...
413                #reglib pp-lib.cm smlnj-lib/PP
414          # make the Unix library          # make the Unix library
415              reglib unix-lib.cm smlnj-lib/Unix              reglib unix-lib.cm smlnj-lib/Unix
416          # make the INet library          # make the INet library
417              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  
418          # make the RegExp library          # make the RegExp library
419              reglib regexp-lib.cm smlnj-lib/RegExp              reglib regexp-lib.cm smlnj-lib/RegExp
420          # make the Reactive library          # make the Reactive library
# Line 464  Line 471 
471      rm -f $LIBMOVESCRIPT      rm -f $LIBMOVESCRIPT
472  fi  fi
473    
474    #
475    # Get rid of preloads.standard
476    #
477    rm -f $ROOT/preloads.standard

Legend:
Removed from v.489  
changed lines
  Added in v.526

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