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/src/system/README
ViewVC logotype

Diff of /sml/trunk/src/system/README

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

revision 651, Thu Jun 1 18:34:03 2000 UTC revision 652, Tue Jun 6 02:14:56 2000 UTC
# Line 32  Line 32 
32    * $smlnj/compiler/current.cm          structure Compiler (current arch)    * $smlnj/compiler/current.cm          structure Compiler (current arch)
33    * $smlnj/compiler/all.cm              all cross-compilers and all cross-CMBs    * $smlnj/compiler/all.cm              all cross-compilers and all cross-CMBs
34    
35    * $smlnj/cm/minimal.cm                minimal CM (pre-loaded)    * $smlnj/cm/full.cm                   structure CM (see manual)
   * $smlnj/cm/full.cm                   full structure CM (see manual)  
36    * $smlnj/cm/tools.cm                  CM tools library    * $smlnj/cm/tools.cm                  CM tools library
37    
38    * $smlnj/cmb/{alpha32,hppa,ppc,sparc,x86}-unix.cm    * $smlnj/cmb/{alpha32,hppa,ppc,sparc,x86}-unix.cm
# Line 53  Line 52 
52    - $smlnj/viscomp/{alpha32,hppa,ppc,sparc,x86}.cm    - $smlnj/viscomp/{alpha32,hppa,ppc,sparc,x86}.cm
53                                          Machine-specific parts of compiler                                          Machine-specific parts of compiler
54    
55    - $smlnj/internal/{intsys,cm-lib,cm-hook,host-compiler-0}.cm    - $smlnj/internal/{intsys,cm-lib,host-compiler-0}.cm
56                                          Glue that holds the interactive system                                          Glue that holds the interactive system
57                                          together                                          together
58    
# Line 563  Line 562 
562  means that in order to be able to use the system, your paths must be  means that in order to be able to use the system, your paths must be
563  properly configured.  properly configured.
564    
565  Two libraries get pre-registered at bootstap time: the basis library  Several libraries get pre-registered at bootstap time.  Here, at least
566  ("$/basis.cm") and CM itself ("$smlnj/cm/minimal.cm").  The latter is  the following two should be included: the basis library ("$/basis.cm")
567  crucial: without it one wouldn't be able to register any other  and CM itself ("$smlnj/cm.cm").  Currently, we also pre-register the
568  libraries via CM.autoload.  The registration of $/basis.cm is a mere  library exporting structure Compiler ($smlnj/compiler.cm) and the
569  convenience.  SML/NJ library ($/smlnj-lib.cm).
570    
571  Here are some other useful libraries that are not pre-registered but  Here are some other useful libraries that are not pre-registered but
572  which can easily be made accessible via CM.autoload (or, non-lazily,  which can easily be made accessible via CM.autoload (or, non-lazily,
573  via CM.make):  via CM.make):
574    
         $smlnj/cm.cm            - provides the actual ("full") structure CM  
                                   as described in the CM manual  
         $smlnj/cm/full.cm       - same as $smlnj/cm.cm  
         $smlnj/compiler.cm      - provides "structure Compiler"  
         $smlnj/compiler/current.cm - same as $smlnj/compiler.cm  
575          $smlnj/cmb.cm           - provides "structure CMB"          $smlnj/cmb.cm           - provides "structure CMB"
576          $smlnj/cmb/current.cm   - same as $smlnj/cmb.cm          $smlnj/cmb/current.cm   - same as $smlnj/cmb.cm
577          $smlnj/compiler/all.cm  - provides "structure <Arch>Compiler" and          $smlnj/compiler/all.cm  - provides "structure <Arch>Compiler" and
578                                    "structure <Arch><OS>CMB" for various                                    "structure <Arch><OS>CMB" for various
579                                    values of <Arch> and <OS>                                    values of <Arch> and <OS>
         $smlnj-lib.cm           - the SML/NJ library  
580    
581  [Note: The fact that $smlnj/compiler.cm is not among the  The file preloads.standard here in this directory currently includes
582  pre-registered libraries seems like an oversight and could lead to  $smlnj/cmb.cm.  This means that by doing ./makeml one obtains a heap
583  some inconveniences to users who want to, for example, set compiler  image with the bootstrap compiler being pre-registered as well.  This
584  flags.  However, pre-registration of this library significantly  seems reasonable for compiler hackers.  (The config/install.sh script
585  increases the size of the heap image.  Moreover, since the library can  uses config/preloads where $smlnj/cmb.cm is not pre-registered.  This
586  easily be loaded by giving the string as a command line argument, this  is appropriate as a setup for general users.)
587  does not really appear to be a big burden to me.  Just create a shell  
588  alias or a little wrapper script if you think you really need this.]  [****** Note:  The following is NO LONGER TRUE:
589    The fact that $smlnj/compiler.cm is not among the pre-registered
590    libraries seems like an oversight and could lead to some
591    inconveniences to users who want to, for example, set compiler flags.
592    However, pre-registration of this library significantly increases the
593    size of the heap image.  Moreover, since the library can easily be
594    loaded by giving the string as a command line argument, this does not
595    really appear to be a big burden to me.  Just create a shell alias or
596    a little wrapper script if you think you really need this.]
597    
598  * Internal sharing  * Internal sharing
599  ------------------  ------------------

Legend:
Removed from v.651  
changed lines
  Added in v.652

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