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/HISTORY
ViewVC logotype

Diff of /sml/trunk/HISTORY

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

revision 734, Sun Nov 19 05:27:41 2000 UTC revision 927, Fri Sep 14 20:19:53 2001 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume  Name: Matthias Blume
17    Date: 2001/09/14 16:15:00 EDT
18    Tag: blume-20010914-x86fastfp
19    Description:
20    
21    John committed some changes that Allen made, in particular a (hopefully)
22    correctly working version of the x86-fp module.
23    
24    I changed the default setting of the Control.MLRISC.getFlag "x86-fast-fp"
25    flag to "true".  Everything seems to compile to a fixpoint ok, and
26    "mandelbrot" speeds up by about 15%.
27    
28    ----------------------------------------------------------------------
29    Name: Matthias Blume
30    Date: 2001/09/13 11:20:00 EDT
31    Tag: blume-20010913-minimal
32    Description:
33    
34    1. Stefan Monnier's patch to fix a miscompilation problem that
35       was brought to light by John Reppy's work on Moby.
36    
37    2. Implemented a minimal "structure Compiler" that contains just
38       "version" and "architecture".  The minimal version will be
39       available when the full version is not.  This is for backward-
40       compatibility with code that wants to test Compiler.version.
41    
42    ----------------------------------------------------------------------
43    Name: Matthias Blume
44    Date: 2001/08/28 14:03:00 EDT
45    Tag: blume-20010828-ml-lex
46    Description:
47    
48    Fix for bug 1581, received from Neophytos Michael.
49    
50    ----------------------------------------------------------------------
51    Name: Matthias Blume
52    Date: 2001/08/27 11:20:00 EDT
53    Tag: blume-20010827-readme11035
54    Description:
55    
56    Fleshed out the README file for 110.35.
57    
58    ----------------------------------------------------------------------
59    Name: Matthias Blume
60    Date: 2001/08/24 17:10:00 EDT
61    Tag: Release_110_35
62    Description:
63    
64    New version number (110.35).  New bootfiles.
65    
66    ----------------------------------------------------------------------
67    Name: Lal George
68    Date: 2001/08/24 13:47:18 EDT 2001
69    Tag: george-20010824-MLRISC-graphs
70    Description:
71    
72     removed clusters from MLRISC completely and replaced with graphs.
73    
74    ----------------------------------------------------------------------
75    Name: Matthias Blume
76    Date: 2001/08/23 17:50:00 EDT
77    Tag: blume-20010823-toplevel
78    Description:
79    
80    - some reorganization of the code that implements various kinds of
81      environments in the compiler (static, dynamic, symbolic, combined)
82    - re-implemented the EnvRef module so that evalStream works properly
83      (if the stream contains references to "use", "CM.make", etc.)
84    - cleaned up evalloop.sml and interact.sml (but they need more cleaning)
85    
86    ----------------------------------------------------------------------
87    Name: Matthias Blume
88    Date: 2001/08/20 15:50 EDT
89    Tag: blume20010820-slipup
90    Description:
91    
92    I forgot to commit a few files.  Here they are...
93    
94    ----------------------------------------------------------------------
95    Name: Matthias Blume
96    Date: 2001/08/20 15:35:00 EDT
97    Tag: blume-20010820-debugprof
98    Description:
99    
100    !!!! NEW BOOTFILES !!!!
101    
102    This is another round of reorganizing the compiler sources.  This
103    time the main goal was to factor out all the "instrumentation"
104    passes (for profiling and backtracing) into their own library.
105    The difficulty was to do it in such a way that it does not depend
106    on elaborate.cm but only on elabdata.cm.
107    
108    Therefore there have been further changes to both elaborate.cm and
109    elabdata.cm -- more "generic" things have been moved from the former
110    to the latter.  As a result, I was forced to split the assignment
111    of numbers indicating "primtyc"s into two portions: SML-generic and
112    SML/NJ-specific.  Since it would have been awkward to maintain,
113    I bit the bullet and actually _changed_ the mapping between these
114    numbers and primtycs.  The bottom line of this is that you need
115    a new set of bin- and bootfiles.
116    
117    I have built new bootfiles for all architectures, so doing a fresh
118    checkout and config/install.sh should be all you need.
119    
120    The newly created library's name is
121    
122        $smlnj/viscomp/debugprof.cm
123    
124    and its sources live under
125    
126        src/compiler/DebugProf
127    
128    ----------------------------------------------------------------------
129    Name: Matthias Blume
130    Date: 2001/08/15 17:15:00 EDT
131    Tag: blume-20010815-compreorg
132    Description:
133    
134    This is a first cut at reorganizing the CM libraries that make up the
135    core of the compiler.  The idea is to separate out pieces that could
136    be used independently by tools, e.g., the parser, the typechecker, etc.
137    
138    The current status is a step in this direction, but it is not quite
139    satisfactory yet.  Expect more changes in the future.
140    
141    Here is the current (new) organization...
142    
143        What used to be $smlnj/viscomp/core.cm is now divided into
144        six CM libraries:
145    
146             $smlnj/viscomp/basics.cm
147                           /parser.cm
148                           /elabdata.cm
149                           /elaborate.cm
150                           /execute.cm
151                           /core.cm
152    
153        The CM files for these libraries live under src/system/smlnj/viscomp.
154        All these libraries are proxy libraries that contain precisely
155        one CM library component.  Here are the locations of the components
156        (all within the src/compiler tree):
157    
158             Basics/basics.cm
159             Parse/parser.cm
160             ElabData/elabdata.cm
161             Elaborator/elaborate.cm
162             Execution/execute.cm
163             core.cm
164    
165         [This organization is the same that has been used already
166         for a while for the architecture-specific parts of the visible
167         compiler and for the old version of core.cm.]
168    
169         As you will notice, many source files have been moved from their
170         respective original locations to a new home in one of the above
171         subtrees.
172    
173         The division of labor between the new libraries is the following:
174    
175             basics.cm:
176                - Simple, basic definitions that pertain to many (or all) of
177                  the other libraries.
178             parser.cm:
179                - The SML parser, producing output of type Ast.dec.
180                - The type family for Ast is also defined and exported here.
181             elabdata.cm:
182                - The datatypes that describe input and output of the elaborator.
183                  This includes types, absyn, and static environments.
184             elaborator.cm:
185                - The SML/NJ type checker and elaborator.
186                  This maps an Ast.dec (with a given static environment) to
187                  an Absyn.dec (with a new static environment).
188                - This libraries implements certain modules that used to be
189                  structures as functors (to remove dependencies on FLINT).
190             execute.cm:
191                - Everything having to do with executing binary code objects.
192                - Dynamic environments.
193             core.cm:
194                - SML/NJ-specific instantiations of the elaborator and MLRISC.
195                - Top-level modules.
196                - FLINT (this should eventually become its own library)
197    
198    Notes:
199    
200    I am not 100% happy with the way I separated the elaborator (and its
201    data structures) from FLINT.  Two instances of the same problem:
202    
203        1. Data structures contain certain fields that carry FLINT-specific
204           information.  I hacked around this using exn and the property list
205           module from smlnj-lib.  But the fact that there are middle-end
206           specific fields around at all is a bit annoying.
207    
208        2. The elaborator calculates certain FLINT-related information.  I tried
209           to make this as abstract as I could using functorization, but, again,
210           the fact that the elaborator has to perform calculations on behalf
211           of the middle-end at all is not nice.
212    
213        3. Having to used exn and property lists is unfortunate because it
214           weakens type checking.  The other alternative (parameterizing
215           nearly *everything*) is not appealing, though.
216    
217    I removed the "rebinding =" warning hack because due to the new organization
218    it was awkward to maintain it.  As a result, the compiler now issues some of
219    these warnings when compiling init.cmi during bootstrap compilation. On
220    the plus side, you also get a warning when you do, for example:
221       val op = = Int32.+
222    which was not the case up to now.
223    
224    I placed "assign" and "deref" into the _Core structure so that the
225    code that deals with the "lazy" keyword can find them there.  This
226    removes the need for having access to the primitive environment
227    during elaboration.
228    
229    ----------------------------------------------------------------------
230    Name: Matthias Blume
231    Date: 2001/08/13
232    Tag: blume-20010813-closures
233    Description:
234    
235    This fix was sent to us by Zhong Shao.  It is supposed to improve the
236    performance of certain loops by avoiding needless closure allocation.
237    
238    ----------------------------------------------------------------------
239    Name: Lal George
240    Date: 2001/07/31 10:03:23 EDT 2001
241    Tag: george-20010731-x86-fmalloc
242    Description: Fixed bug in x86 calls
243    
244        There was a bug where call instructions would mysteriously
245        vanish. The call instruction had to be one that returned
246        a floating point value.
247    
248    ----------------------------------------------------------------------
249    Name: Lal George
250    Date: 2001/07/19 16:36:29 EDT 2001
251    Tag: george-20010719-simple-cells
252    Description:
253    
254    I have dramatically simplified the interface for CELLS in MLRISC.
255    
256    In summary, the cells interface is broken up into three parts:
257    
258      1. CellsBasis : CELLS_BASIS
259    
260            CellsBasis is a top level structure and common for all
261            architectures.  it contains the definitions of basic datatypes
262            and utility  functions over these types.
263    
264      2. functor Cells() : CELLS
265    
266            Cells generates an interface for CELLS that incorporates the
267            specific resources on the target architecture, such as the
268            presence of special register classes, their number and size,
269            and various useful substructures.
270    
271      3. <ARCH>CELLS
272    
273            e.g. SparcCells: SPARCCELLS
274    
275            <ARCH>CELLS usually contains additional bindings for special
276            registers  on the architecture, such as:
277    
278                    val r0 : cell           (* register zero *)
279                    val y : cell            (* Y register *)
280                    val psr : cell          (* processor status register *)
281                    ...
282    
283            The structure returned by applying the Cells functor is opened
284            in this interface.
285    
286    The main implication of all this is that the datatypes for cells is
287    split between CellsBasis and CELLS -- a fairly simple change for user
288    code.
289    
290    In the old scheme the CELLS interface had a definitional binding of
291    the form:
292    
293            signature CELLS = sig
294    
295               structure CellsBasis = CellsBasis
296    
297               ...
298    
299            end
300    
301    With all the sharing constraints that goes on in MLRISC, this old
302    design  quickly leads to errors such as:
303    
304            "structure definition spec inside of sharing ... "
305    
306    
307    and appears to require an unacceptable amount of sharing and where
308    constraint hackery.
309    
310    I think this error message (the interaction of definitional specs and
311    sharing) requires more explanation on our web page.
312    
313    ----------------------------------------------------------------------
314    Name: Matthias Blume
315    Date: 2001/07/19 15:00:00 EDT
316    Tag: blume-20010719-libreorg
317    Description:
318    
319    This update puts together a fairly extensive but straightforward change
320    to the way the libraries that implement the interactive system are
321    organized:
322    
323       The biggest change is the elimination of structure Compiler.  As a
324       replacement for this structure, there is now a CM library
325       (known as $smlnj/compiler.cm or $smlnj/compiler/current.cm)
326       that exports all the substructures of the original structure Compiler
327       directly.  So instead of saying Compiler.Foo.bar one now simply
328       says Foo.bar.  (The CM libraries actually export a collection of
329       structures that is richer than the collection of substructures of
330       structure Compiler.)
331    
332       To make the transition smooth, there is a separate library called
333       $smlnj/compiler/compiler.cm which puts together and exports the
334       original structure Compiler (or at least something very close to it).
335    
336       There are five members of the original structure Compiler
337       that are not exported directly but which instead became members
338       of a new structure Backend (described by signature BACKEND).  These are:
339       structure Profile (: PROFILE), structure Compile (: COMPILE), structure
340       Interact (: INTERACT), structure Machine (: MACHINE), and val
341       architecture (: string).
342    
343       Structure Compiler.Version has become structure CompilerVersion.
344    
345       Cross-compilers for alpha32, hppa, ppc, sparc, and x86 are provided
346       by $smlnj/compiler/<arch>.cm where <arch> is alpha32, hppa, ppc, sparc,
347       or x86, respectively.
348       Each of these exports the same frontend structures that
349       $smlnj/compiler.cm exports.  But they do not have a structure Backend
350       and instead export some structure <Arch>Backend where <Arch> is Alpha32,
351       Hppa, PPC, Sparc, or X86, respectively.
352    
353       Library $smlnj/compiler/all.cm exports the union of the exports of
354       $smlnj/compiler/<arch>.cm
355    
356       There are no structures <Arch>Compiler anymore, use
357       $smlnj/compiler/<arch>.cm instead.
358    
359       Library host-compiler-0.cm is gone.  Instead, the internal library
360       that instantiates CM is now called cm0.cm.  Selection of the host
361       compiler (backend) is no longer done here but. (Responsibility for it
362       now lies with $smlnj/compiler/current.cm.  This seems to be more
363       logical.)
364    
365       Many individual files have been moved or renamed.  Some files have
366       been split into multiple files, and some "dead" files have been deleted.
367    
368    Aside from these changes to library organization, there are also changes
369    to the way the code itself is organized:
370    
371       Structure Binfile has been re-implemented in such a way that it no
372       longer needs any knowledge of the compiler.  It exclusively deals
373       with the details of binfile layout.  It no longer invokes the
374       compiler (for the purpose of creating new prospective binfile
375       content), and it no longer has any knowledge of how to interpret
376       pickles.
377    
378       Structure Compile (: COMPILE) has been stripped down to the bare
379       essentials of compilation.  It no longer deals with linking/execution.
380       The interface has been cleaned up considerably.
381    
382       Utility routines for dealing with linking and execution have been
383       moved into their own substructures.
384    
385       (The ultimate goal of these changes is to provide a light-weight
386       binfile loader/linker (at least for, e.g., stable libraries) that
387       does not require CM or the compiler to be present.)
388    
389    CM documentation has been updated to reflect the changes to library
390    organization.
391    
392    ----------------------------------------------------------------------
393    Name: Matthias Blume
394    Date: 2001/07/10 17:30:00 EDT
395    Tag: Release_110_34
396    Description:
397    
398    Minor tweak to 110.34 (re-tagged):
399    
400      - README.html file added to CVS repository
401      - runtime compiles properly under FreeBSD 3.X and 4.X
402    
403    ----------------------------------------------------------------------
404    Name: Matthias Blume
405    Date: 2001/07/10 17:30:00 EDT
406    Tag: Release_110_34
407    Description:
408    
409    New version number (110.34). New bootfiles.
410    
411    ----------------------------------------------------------------------
412    Name: Matthias Blume
413    Date: 2001/07/09 16:00:00 EDT
414    Tag: blume-20010709-more-varargs
415    Description:
416    
417    I changed the handling of varargs in ml-nlffigen again:
418    The ellipsis ... will now simply be ignored (with an accompanying warning).
419    
420    The immediate effect is that you can actually call a varargs function
421    from ML -- but you can't actually supply any arguments beyond the ones
422    specified explicitly.  (For example, you can call printf with its format
423    string, but you cannot pass additional arguments.)
424    
425    This behavior is only marginally more useful than the one before, but
426    it has the advantage that a function or, more importantly, a function
427    type never gets dropped on the floor, thus avoiding follow-up problems with
428    other types that refer to the offending one.
429    
430    ----------------------------------------------------------------------
431    Name: Matthias Blume
432    Date: 2001/07/09 11:25:00 EDT
433    Tag: blume-20010709-varargs
434    Description:
435    
436    1. ckit-lib.cm now exports structure Error
437    2. ml-nlffigen reports occurences of "..." (i.e., varargs function types)
438       with a warning accompanied by a source location.  Moreover, it
439       merely skips the offending function or type and proceeds with the
440       rest of its work.u  As a result, one can safely feed C code containing
441       "..." to ml-nlffigen.
442    3. There are some internal improvements to CM, providing slightly
443       more general string substitutions in the tools subsystem.
444    
445    ----------------------------------------------------------------------
446    Name: Matthias Blume
447    Date: 2001/06/27 15:10:00 EDT
448    Tag: blume-20010627-concur
449    Description:
450    
451    Fixed a small bug in CM's handling of parallel compilation.
452    (You could observe the bug by Control-C-interrupting an ordinary
453    CMB.make or CM.stabilize and then attaching some compile servers.
454    The result was that all of a sudden the previously interrupted
455    compilation would continue on its own.  This was because of
456    an over-optimization: CM did not bother to clean out certain queues
457    when no servers were attached "anyway", resulting in the contents
458    of these queues to grab control when new servers did get attached.)
459    
460    There is also another minor update to the CM manual.
461    
462    ----------------------------------------------------------------------
463    Name: Matthias Blume
464    Date: 2001/06/26 16:15:00 EDT
465    Tag: blume-20010626-cmdoc
466    Description:
467    
468    Minor typo fixed in CM manual (syntax diagram for libraries).
469    
470    ----------------------------------------------------------------------
471    Name: Matthias Blume
472    Date: 2001/06/25 22:55:00 EDT
473    Tag: blume-20010625-x86pc
474    Description:
475    
476    Fixed a nasty bug in the X86 assembly code that caused signal
477    handlers to fail (crash) randomly.
478    
479    ----------------------------------------------------------------------
480    Name: Matthias Blume
481    Date: 2001/06/25 12:05:00 EDT
482    Tag: blume-20010625-nlffigen
483    Description:
484    
485    This update fixes a number of minor bugs in ml-nlffigen as reported by
486    Nick Carter <nbc@andrew.cmu.edu>.
487    
488      1. Silly but ok typedefs of the form "typedef void myvoid;" are now accepted.
489      2. Default names for generated files are now derived from the name of
490         the C file *without its directory*.  In particular, this causes generated
491         files to be placed locally even if the C file is in some system directory.
492      3. Default names for generated signatures and structures are also derived
493         from the C file name without its directory.  This avoids silly things
494         like "structure GL/GL".
495         (Other silly names are still possible because ml-nlffigen does not do
496          a thorough check of whether generated names are legal ML identifiers.
497          When in doubt, use command line arguments to force particular names.)
498    
499    ----------------------------------------------------------------------
500    Name: Matthias Blume
501    Date: 2001/06/21 12:25:00 EDT
502    Tag: blume-20010621-eXene
503    Description:
504    
505    eXene now compiles and (sort of) works again.
506    
507    The library name (for version > 110.33) is $/eXene.cm.
508    
509    I also added an new example in src/eXene/examples/nbody.  See the
510    README file there for details.
511    
512    ----------------------------------------------------------------------
513    Name: Matthias Blume
514    Date: 2001/06/20 16:40:00 EDT
515    Tag: blume-20010620-cml
516    Description:
517    
518    CML now compiles and works again.
519    
520    Libraries (for version > 110.33):
521    
522      $cml/cml.cm            Main CML library.
523      $cml/basis.cm          CML's version of $/basis.cm.
524      $cml/cml-internal.cm   Internal helper library.
525      $cml/core-cml.cm       Internal helper library.
526      $cml-lib/trace-cml.cm  Tracing facility.
527      $cml-lib/smlnj-lib.cm  CML's version of $/smlnj-lib.cm
528    
529    The installer (config/install.sh) has been taught how to properly
530    install this stuff.
531    
532    ----------------------------------------------------------------------
533    Name: Matthias Blume
534    Date: 2001/06/19 17:55:00 EDT
535    Tag: blume-20010619-instantiate
536    Description:
537    
538    This un-breaks the fix for bug 1432.
539    (The bug was originally fixed in 110.9 but I broke it again some
540    time after that.)
541    
542    ----------------------------------------------------------------------
543    Name: Matthias Blume
544    Date: 2001/06/19 17:25:00 EDT
545    Tag: blume-20010619-signals
546    Description:
547    
548    This should (hopefully) fix the long-standing signal handling bug.
549    (The runtime system was constructing a continuation record with an
550    incorrect descriptor which would cause the GC to drop data on the floor...)
551    
552    ----------------------------------------------------------------------
553    Name: Matthias Blume
554    Date: 2001/06/15 15:05:00 EDT
555    Tag: blume-20010615-moresparc
556    Description:
557    
558    Here is a short late-hour update related to Sparc c-calls:
559    
560     -- made handling of double-word arguments a bit smarter
561    
562     -- instruction selection phase tries to collapse certain clumsily
563        constructed ML-Trees; typical example:
564    
565            ADD(ty,ADD(_,e,LI d1),LI d2)  ->  ADD(ty,e,LI(d1+d2))
566    
567        This currently has no further impact on SML/NJ since mlriscGen does
568        not seem to generate such patterns in the first place, and c-calls
569        (which did generate them in the beginning) has meanwhile been fixed
570        so as to avoid them as well.
571    
572    ----------------------------------------------------------------------
573    Name: Matthias Blume
574    Date: 2001/06/15 15:05:00 EDT
575    Tag: blume-20010615-sparc
576    Description:
577    
578    The purpose of this update is to provide an implementation of NLFFI
579    on Sparc machines.
580    
581    Here are the changes in detail:
582    
583       * src/MLRISC/sparc/c-calls/sparc-c-calls.sml is a new file containing
584       the Sparc implementation of the c-calls API.
585       * The Sparc backend of SML/NJ has been modified to uniformely use %fp
586       for accessing the ML frame.  Thus, we have a real frame pointer and
587       can freely modify %sp without need for an omit-frame-ptr phase.
588       The vfp logic in src/compiler/CodeGen/* has been changed to accomodate
589       this case.
590       * ml-nlffigen has been taught to produce code for different architectures
591       and calling conventions.
592       * In a way similar to what was done in the x86 case, the Sparc
593       backend uses its own specific extension to mltree.  (For example,
594       it needs to be able to generate UNIMP instructions which are part
595       of the calling convention.)
596       * ml-nlffi-lib was reorganized to make it more modular (in particular,
597       to make it easier to plug in new machine- and os-dependent parts).
598    
599    There are some other fairly unrelated bug fixes and cleanups as well:
600    
601       * I further hacked the .cm files for MLRISC tools (like MDLGen) so
602       that they properly share their libraries with existing SML/NJ libraries.
603       * I fixed a minor cosmetic bug in CM, supressing certain spurious
604       follow-up error messages.
605       * Updates to CM/CMB documentation.
606    
607    TODO items:
608    
609       * MLRISC should use a different register as its asmTemp on the Sparc.
610         (The current %o2 is a really bad choice because it is part of the
611         calling conventions, so things might interfere in unexpected ways.)
612    
613    ----------------------------------------------------------------------
614    Name: Matthias Blume
615    Date: 2001/06/07
616    Tag: blume-20010607-calls
617    Description:
618    
619    A number of internal changes related to C calls and calling conventions:
620    
621    1. ML-Tree CALL statements now carry a "pops" field.  It indicates the
622       number of bytes popped implicitly (by the callee).  In most cases
623       this field is 0 but on x86/win32 it is some non-zero value.  This
624       is information provided for the benefit of the "omit-frameptr" pass.
625    2. The CALL instruction on the x86 carries a similar "pops" field.
626       The instruction selection phase copies its value from the ML-Tree
627       CALL statement.
628    3. On all other architectures, the instruction selection phase checks
629       whether "pops=0" and complains if not.
630    4. The c-calls implementation for x86 now accepts two calling conventions:
631       "ccall" and "stdcall".  When "ccall" is selected, the caller cleans
632       up after the call and pops is set to 0.  For "stdcall", the caller
633       does nothing, leaving the cleanup to the callee; pops is set to
634       the number of bytes that were pushed onto the stack.
635    5. The cproto decoder (compiler/Semant/types/cproto.sml) now can
636       distinguish between "ccall" and "stdcall".
637    6. The UNIMP instruction has been added to the supported Sparc instruction
638       set. (This is needed for implementing the official C calling convention
639       on this architecture.)
640    7. I fixed some of the .cm files under src/MLRISC/Tools to make them
641       work with the latest CM.
642    
643    ----------------------------------------------------------------------
644    Name: Matthias Blume
645    Date: 2001/06/05 15:10:00 EDT
646    Tag: blume-20010605-cm-index
647    Description:
648    
649    0. The "lambdasplit" parameter for class "sml" in CM has been documented.
650    
651    1. CM can now generate "index files".  These are human-readable files
652       that list on a per-.cm-file basis each toplevel symbol defined or
653       imported.  The location of the index file for
654       <p>/<d>.cm is <p>/CM/INDEX/<d>.cm.
655       To enable index-file generation, set CM.Control.generate_index to true
656       or export an environment-symbol: export CM_GENERATE_INDEX=true.
657    
658       The CM manual has been updated accordingly.
659    
660    2. I made some slight modifications to the c-calls API in MLRISC.
661    
662         a) There is now a callback to support saving/restoring of
663            dedicated but caller-save registers around the actual call
664            instruction.
665         b) One can optionally specify a comment-annotation for the
666            call instruction.
667    
668    3. SML/NJ (mlriscGen.sml) uses this new API for the rawccall primop.
669       (For example, the comment annotation shows the C prototype of
670        the function being called.)
671    
672    ----------------------------------------------------------------------
673    Name: Matthias Blume
674    Date: 2001/06/01 13:30:00 EDT
675    Tag: blume-20010601-nlffi-cleanup
676    Description:
677    
678    This is mostly a cleanup of MLFFI stuff:
679    
680       - some signature files have been put into a more exposed place
681       - the ugly 'f type parameter is gone (simplifies types tremendously!)
682       - ml-nlffigen changed accordingly
683       - tutorial updated
684    
685    Other changes:
686    
687       - author's affiliation in CM manual(s) updated
688       - some more recognized keywords added to Allen's sml.sty
689    
690    ----------------------------------------------------------------------
691    Name: Matthias Blume
692    Date: 2001/05/25 15:30:00 EDT
693    Tag: blume-20010525-iptr
694    Description:
695    
696      - put the official 110.33-README (as it appears on the ftp server) under
697        CVS
698      - fixed a small bug related to incomplete pointer types in
699        ml-nlffigen
700      - small cosmetic change to the ml-nlffi-lib's "arr" type constructor
701        (it does not need the 'f type parameter)
702    
703    ----------------------------------------------------------------------
704    Name: Matthias Blume
705    Date: 2001/05/23 14:30:00 EDT
706    Tag: Release_110_33
707    Description:
708    
709    New version number (110.33).  New bootfiles.
710    
711    ----------------------------------------------------------------------
712    Name: Matthias Blume
713    Date: 2001/05/22 18:06:00 EDT
714    Tag: blume-20010522-targets
715    Description:
716    
717    Made install.sh use file config/targets.customized if it exists, falling
718    back to config/targets if it doesn't.  This way one can have a customized
719    version of the targets file without touching the "real thing", thus
720    eliminating the constant fear of accidentally checking something bogus
721    back into the CVS repository...  (File config/targets.customized must
722    not be added to the repository!)
723    
724    ----------------------------------------------------------------------
725    Name: Matthias Blume
726    Date: 2001/05/22 16:30:00 EDT
727    Tag: blume-20010522-minitut
728    Description:
729    
730    1. Bug fix in ml-nlffigen; now (hopefully) correctly handling
731       struct returns.
732    2. Added src/ml-nlffi-lib/Doc/mini-tutorial.txt.  This is some very
733       incomplete, preliminary documentation for NLFFI.
734    
735    ----------------------------------------------------------------------
736    Name: Matthias Blume
737    Date: 2001/05/14 11:30:00 EDT
738    Tag: blume-20010514-script
739    Description:
740    
741    Some bugs in install script fixed.
742    
743    In addition to that I also made a slight change to the NLFFI API:
744    Functors generated by ml-nlffigen now take the dynamic library as a
745    straight functor argument, not as a suspended one.  (The original
746    functor code used to force the suspension right away anyway, so there
747    was nothing gained by this complication of the interface.)
748    
749    ----------------------------------------------------------------------
750    Name: Matthias Blume
751    Date: 2001/05/11 14:35:00 EDT
752    Tag: blume-20010511-ml-nlffi
753    Description:
754    
755    I finally took the plunge and added my new FFI code to the main
756    repository.  For x86-linux it is now ready for prime-time.
757    
758    There are two new subdirectories of "src":
759    
760      - ml-nlffi-lib:
761           The utility library for programs using the FFI interface.
762           Here is the implementation of $/c.cm and its associated low-level
763           partners $/c-int.cm and $/memory.cm.
764      - ml-nlffigen:
765           A stand-alone program for generating ML glue code from C source
766           code.
767    
768    Building ml-nlffigen requires $/ckit-lib.cm.
769    
770    The config/install.sh script has been updates to do the Right Thing
771    (hopefully).
772    
773    Notice that the source tree for the C-Kit will not be put under "src"
774    but directly under the installation root directory.  (This is the
775    structure that currently exists on the CVS server when you check out
776    module "sml".)  Fortunately, config/install.sh knows about this oddity.
777    
778    Bugs: No documentation yet.
779    
780    ----------------------------------------------------------------------
781    Name: Matthias Blume
782    Date: 2001/05/09 16:35:00 EDT
783    Tag: blume-20010509-cpscontract
784    Description:
785    
786    Fixed a bug in the accounting code in cpsopt/contract.sml.  (The
787    wrapper/unwrapper elimination did not decrement usage counts and some
788    dead variables got overlooked by the dead-up logic.)
789    
790    ----------------------------------------------------------------------
791    Name: Lal George
792    Date: 2001/05/08  17:26:09 EDT
793    Tag: george-20010508-omit-frameptr
794    Description:
795    
796    Changes to implement the omit-frame-pointer optimization to support
797    raw C calls. For now, there is only support on the Intel x86, but
798    other architectures will follow as more experience is gained with this.
799    
800    
801    ----------------------------------------------------------------------
802    Name: Matthias Blume
803    Date: 2001/05/07 14:40:00 EDT
804    Tag: blume-20010507-proxies
805    Description:
806    
807    I made into "proxy libraries" all libraries that qualify for such a
808    change.  (A qualifying library is a library that has another library or
809    groups as its sole member and repeats that member's export list
810    verbatim.  A proxy library avoids this repetition by omitting its export
811    list, effectively inheriting the list that its (only) member exports.
812    See the CM manual for more explanation.)
813    The main effect is that explicit export lists for these libraries
814    do not have to be kepts in sync, making maintenance a bit easier.
815    
816    I also added copyright notices to many .cm-files.
817    
818    Last but not least, I made a new set of bootfiles.
819    
820    ----------------------------------------------------------------------
821    Name: Matthias Blume
822    Date: 2001/05/04 17:00:00 EDT
823    Tag: blume-20010504-cm-lsplit
824    Description:
825    
826    0. John merged pending changes to $/smlnj-lib.cm
827    
828    1. Allen's previous change accidentally backed out of one of Lal's
829       earlier changes.  I undid this mistake (re-introducing Lal's change).
830    
831    2. I used the new topOrder' function from graph-scc.sml (from $/smlnj-lib.cm)
832       within the compiler where applicable.  There is some code simplification
833       because of that.
834    
835    3. The "split" phase (in FLINT) is now part of the default list of phases.
836       Compiler.Control.LambdaSplitting.* can be used to globally control the
837       lambda-splitting (cross-module-inlining) engine.  In addition to that,
838       it can now also be controlled on a per-source basis: CM has been taught
839       a new tool parameter applicable to ML source files.
840    
841       - To turn lambda-splitting off completely:
842            local open Compiler.Control.LambdaSplitting in
843                val _ = set Off
844            end
845       - To make "no lambda-splitting" the global default (but allow per-source
846         overriding); this is the initial setting:
847            local open Compiler.Control.LambdaSplitting in
848                val _ = set (Default NONE)
849            end
850       - To make "lambda-splitting with aggressiveness a" the global default
851         (and allow per-source overriding):
852            local open Compiler.Control.LambdaSplitting in
853                val _ = set (Default (SOME a))
854            end
855    
856       - To turn lambda-splitting off for a given ML souce file (say: a.sml)
857         write (in the respective .cm-file):
858            a.sml (lambdasplitting:off)
859       - To turn lambda-splitting for a.sml on with minimal aggressiveness:
860            a.sml (lambdasplitting:on)
861       - To turn lambda-splitting for a.sml on with aggressiveness <a> (where
862         <a> is a decimal non-negative integer):
863            a.sml (lambdasplitting:<a>)
864       - To turn lambda-splitting for a.sml on with maximal aggressiveness:
865            a.sml (lambdasplitting:infinity)
866       - To use the global default for a.sml:
867            a.sml (lambdasplitting:default)
868         or simply
869            a.sml
870    
871    ----------------------------------------------------------------------
872    Name: Allen Leung
873    Date: 2001/05/04 01:57:00 EDT
874    Tag: leunga-20010504-sync
875    Description:
876    
877      MLRISC features.
878    
879      1. Fix to CMPXCHG instructions.
880      2. Changed RA interface to allow annotations in callbacks.
881      3. Added a new method to the stream interface to allow annotations updates.
882    
883    ----------------------------------------------------------------------
884    Name: Matthias Blume
885    Date: 2001/05/01 11:45:00 EDT
886    Tag: blume-20010501-pcedittmp
887    Description:
888    
889    Changed install.sh to use the current working directory instead of
890    /usr/tmp for a temporary file (pcedittmp).  The previous choice
891    of /usr/tmp caused trouble with MacOS X because of file premission
892    problems.
893    
894    ----------------------------------------------------------------------
895    Name: Matthias Blume
896    Date: 2001/04/20 11:10:00 EDT
897    Tag: blume-20010420-inMLflag
898    Description:
899    
900     - added vp_limitPtrMask to vproc-state.h
901       (for use by the raw-C-calls mechanism to implement proper interrupt
902        handling)
903     - made the ML compiler aware of various data-structure offsets so it
904       can generate code for accessing the vp_inML flag and vp_limitPtrMask
905     - tweaked mlriscGen.sml to have it emit interrupt-handling code for
906       raw C-calls
907    
908    ----------------------------------------------------------------------
909    Name: Lal George
910    Date: 2001/04/20 09:15:28 EDT
911    Tag: george-20010420-macosX
912    Description:
913    
914     - Changes to port to Mac OS X; Darwin.
915    
916     - In the process I found that sqrt was broken on the PPC, because the
917       fsqrt instruction is not implemented.
918    
919    ----------------------------------------------------------------------
920    Name: Matthias Blume
921    Date: 2001/04/18 12:45:00 EDT
922    Tag: blume-20010418-ccalls
923    Description:
924    
925     - fixed two off-by-4 errors in the x86-specific c-calls implementation
926       (this bug prevented structure arguments containing pointers from being
927        passed correctly)
928     - changed the raw-C-call code in mlriscGen.sml in such a way that
929       structure arguments are represented as a pointer to the beginning
930       of the structure (instead of having a series of synthesized arguments,
931       one for each structure member)
932    
933     - made makeml script's verbosity level configurable via environment
934       variable (MAKEML_VERBOSITY)
935    
936     - eliminated placeholder implementations for f32l, w16s, i16s, and f32s
937       in rawmem-x86.sml; we are now using the real thing
938    
939    ----------------------------------------------------------------------
940    Name: Matthias Blume
941    Date: 2001/03/22 16:25:00 EST
942    Tag: blume-20010322-bootfiles
943    Description:
944    
945    Created a new set of bootfiles (for your automatic installation convenience).
946    
947    ----------------------------------------------------------------------
948    Name: Matthias Blume
949    Date: 2001/03/22 15:10:00 EST
950    Tag: blume-20010322-rawmem-parcm
951    Description:
952    
953    1. All "raw memory access" primitives for the new FFI are implemented now
954       (at least on the x86).
955    2. Some further cleanup of CM's parallel make mechanism.
956    
957    ----------------------------------------------------------------------
958    Name: Matthias Blume
959    Date: 2001/03/19 17:53:00 EST
960    Tag: blume-20010319-parallel
961    Description:
962    
963    Parallel make (using compile servers) now works again.
964    
965    To this end, CM.stabilize and CMB.make have been modified to work in
966    two passes when compile servers are attached:
967       1. Compile everything, do not perform stabilization; this pass
968          uses compile servers
969       2. Stabilize everything; this pass does not use compile servers
970    If there are no compile servers, the two passes are combined into one
971    (as before).  Splitting the passes increases the inherent parallelism
972    in the dependency graph because the entire graph including all
973    libraries is available at the same time.  This, in turn, improves
974    server utilization.  The downside is that the master process will
975    have to do some extra work after compilation is done (because for
976    technical reasons it must re-read all the binfiles during stabilization).
977    
978    ----------------------------------------------------------------------
979    Name: Matthias Blume
980    Date: 2001/03/16 12:22:00 EST
981    Tag: blume-20010316-bootfiles
982    Description:
983    
984    Created a new set of bootfiles (for your automatic installation convenience).
985    
986    ----------------------------------------------------------------------
987    Name: Matthias Blume
988    Date: 2001/03/16 11:00:00 EST
989    Tag: blume-20010316-MLTREE-fixup
990    Description:
991    
992    This is a minor fixup for an (untagged) earlier commit by Allen.
993    (A file was missing).
994    
995    ----------------------------------------------------------------------
996    Name: Allen Leung
997    Date: Mon Mar  5 18:54:57 EST 2001
998    Tag: leunga-20010305-cut-support
999    
1000    1. New support for alternative control-flow in MLTREE.
1001       Currently we support
1002    
1003          FLOW_TO(CALL ...., [k1,...,kn])
1004    
1005       This is needed for 'cuts to' in C-- and try/handle-like constructs
1006       in Moby
1007    
1008       New assembler flag "asm-show-cutsto" to turn on control-flow debugging.
1009    
1010    2. Register Allocator
1011    
1012       Changes in interface [from Fermin, John]
1013    
1014    3. Alpha 8-bit SLL support [Fermin]
1015    
1016    4. All architectures
1017    
1018       A new module (ClusterExpandCopies) for expanding parallel copies.
1019    
1020    ----------------------------------------------------------------------
1021    Name: Allen Leung
1022    Date: 2001/02/27 23:07:00 EST
1023    Tag: leunga-20010227-minor-stuff
1024    
1025    1. Alpha bug fix for CMOVNE
1026    2. Handle mltree COND(..,FCMP ...,...)
1027    3. Bug fix in simplifier
1028    
1029    ----------------------------------------------------------------------
1030    Name: Matthias Blume
1031    Date: 2001/01/30 17:50:00 EST
1032    Tag: blume-20010130-sync
1033    Description:
1034    
1035    This is just a minor update to sync my devel branch with the main brach.
1036    The only visible change is the addition of some README files.
1037    
1038    ----------------------------------------------------------------------
1039    Name: Matthias Blume
1040    Date: 2001/01/12 23:30:00 JST
1041    Tag: blume-20010112-bootfiles
1042    Description:
1043    
1044    Made a new set of bootfiles that goes with the current state of the
1045    repository.
1046    
1047    ----------------------------------------------------------------------
1048    Name: Matthias Blume
1049    Date: 2001/01/12 21:20:00 JST
1050    Tag: blume-20010112-sync
1051    Description:
1052    
1053    I am just flushing out some minor changes that had accumulated in
1054    my private branch in order to sync with the main tree.  (This is
1055    mainly because I had CVS trouble when trying to merge _into_ my
1056    private branch.)
1057    
1058    Most people should be completely unaffected by this.
1059    
1060    ----------------------------------------------------------------------
1061    Name: Allen Leung
1062    Date: Thu Jan 11 21:03:00 EST 2001
1063    Tag: leunga-20010111-labexp=mltree
1064    Description:
1065    
1066    1.  Removed the type LabelExp and replace it by MLTree.
1067    2.  Rewritten mltree-simplify with the pattern matcher tool.
1068    3.  There were some bugs in alpha code generator which would break
1069        64-bit code generation.
1070    4.  Redo the tools to generate code with the
1071    5.  The CM files in MLRISC (and in src/system/smlnj/MLRISC)
1072        are now generated by perl scripts.
1073    
1074    ----------------------------------------------------------------------
1075    Name: Matthias Blume
1076    Date: 2001/01/10 21:55:00 JST
1077    Tag: blume-20010110-rcc
1078    Description:
1079    
1080    The RCC stuff now seems to work (but only on the x86).
1081    This required hacking of the c-calls interface (and -implementation) in
1082    MLRISC.
1083    
1084    Normal compiler users should be unaffected.
1085    
1086    ----------------------------------------------------------------------
1087    Name: Matthias Blume
1088    Date: 2001/01/09 01:20:00 JST
1089    Tag: blume-20010109-rcc
1090    Description:
1091    
1092    This is a fairly big patch, flushing out a large number of pending
1093    changes that I made to my development copy over the last couple of days.
1094    
1095    Of practical relevance at this moment is a workaround for a pickling
1096    bug that Allen ran into the other day.  The cause of the bug itself is
1097    still unknown and it might be hard to fix it properly, but the
1098    workaround has some merits of its own (namely somewhat reducing pickling
1099    overhead for certain libraries).  Therefore, I think this solution should
1100    be satisfactory at this time.
1101    
1102    The rest of the changes (i.e., the vast majority) has to do with my
1103    ongoing efforts of providing direct support for C function calls from
1104    ML.  At the moment there is a new primop "RAW_CCALL", typing magic
1105    in types/cproto.sml (invoked from FLINT/trans/translate.sml), a new
1106    case in the FLINT CPS datatype (RCC), changes to cps/convert.sml to
1107    translate uses of RAW_CCALL into RCC, and changes to mlriscGen.sml to
1108    handle RCC.
1109    
1110    The last part (the changes to mlriscGen.sml) are still known to be
1111    wrong on the x86 and not implemented on all other architectures.  But
1112    the infrastructure is in place. I had to change a few functor
1113    signatures in the backend to be able to route the CCalls interface
1114    from MLRISC there, and I had to specialize the mltree type (on the
1115    x86) to include the necessary extensions. (The extensions themselves
1116    were already there and redy to go in MLRISC/x86).
1117    
1118    Everything should be very happy as soon as someone helps me with
1119    mlriscGen.sml...
1120    
1121    In any case, nothing of this should matter to anyone as long as the
1122    new primop is not being used (which is going to be the case unless you
1123    find it where I hid it :). The rest of the compiler is completely
1124    unaffected.
1125    
1126    ----------------------------------------------------------------------
1127    Name: Matthias Blume
1128    Date: 2001/01/05 00:30:00 JST
1129    Tag: blume-20010105-primops
1130    Description:
1131    
1132    Added some experimental support for work that I am doing right now.
1133    These changes mostly concern added primops, but there is also a new
1134    experimental C library in the runtime system (but currently not enabled
1135    anywhere except on Linux/X86).
1136    
1137    In the course of adding primops (and playing with them), I discovered that
1138    Zhong's INL_PRIM hack (no type info for certain primops) was, in fact, badly
1139    broken.  (Zhong was very right he labeled this stuff as "major gross hack".)
1140    To recover, I made type information in INL_PRIM mandatory and changed
1141    prim.sml as well as built-in.sml accordingly.  The InLine structure now
1142    has complete, correct type information (i.e., no bottom types).
1143    
1144    Since all these changes mean that we need new binfiles, I also bumped the
1145    version number to 110.32.1.
1146    
1147    ----------------------------------------------------------------------
1148    Name: Matthias Blume
1149    Date: 2000/12/30 22:10:00 JST
1150    Tag: blume-20001230-various
1151    Description:
1152    
1153    Added proxy libraries for MLRISC and let MLRISC libraries refer
1154    to each other using path anchors.  (See CM manual for explanation.)
1155    
1156    Updated CM documentation.
1157    
1158    Fixed some bugs in CM.
1159    
1160    Implemented "proxy" libraries (= syntactic sugar for CM).
1161    
1162    Added "-quiet" option to makeml and changed runtime system accordingly.
1163    
1164    Added cleanup handler for exportML to reset timers and compiler stats.
1165    
1166    ----------------------------------------------------------------------
1167    Name: Lal George
1168    Date: 2000/12/22 22:22:58 EST 2000
1169    Tag: Release_110_32
1170    Description:
1171    
1172            Infinite precision used throughout MLRISC.
1173            see MLRISC/mltree/machine-int.sig
1174    
1175    ----------------------------------------------------------------------
1176    Name: Matthias Blume
1177    Date: 2000/12/22 23:16:00 JST
1178    Tag: blume-20001222-warn
1179    Description:
1180    
1181    Corrected wording and formatting of some CM warning message which I
1182    broke in my previous patch.
1183    
1184    ----------------------------------------------------------------------
1185    Name: Matthias Blume
1186    Date: 2000/12/22 21:20:00 JST
1187    Tag: blume-20001222-anchorenv
1188    Description:
1189    
1190    Fixed CM's handling of anchor environments in connection with CMB.make.
1191    
1192    ----------------------------------------------------------------------
1193    Name: Matthias Blume
1194    Date: 2000/12/22 13:15:00 JST
1195    Tag: blume-20001222-cleanup
1196    Description:
1197    
1198    Removed src/cm/ffi which does not (and did not) belong here.
1199    
1200    ----------------------------------------------------------------------
1201    Name: Matthias Blume
1202    Date: 2000/12/21 23:55:00 JST
1203    Tag: blume-20001221-exn
1204    Description:
1205    
1206    Probably most important: CM no longer silently swallows all exceptions
1207    in the compiler.
1208    Plus: some other minor CM changes.  For example, CM now reports some
1209    sizes for generated binfiles (code, data, envpickle, lambdapickle).
1210    
1211    ----------------------------------------------------------------------
1212    Name: Matthias Blume
1213    Date: 2000/12/15 00:01:05 JST
1214    Tag: blume-20001215-dirtool
1215    Description:
1216    
1217    - "dir" tool added.
1218    - improvements and cleanup to Tools structure
1219    - documentation updates
1220    
1221    ----------------------------------------------------------------------
1222    Name: Allen Leung
1223    Date: Thu Dec 14 03:45:24 EST 2000
1224    Description:
1225    Tag:  leunga-20001214-int-inf
1226    Description:
1227    
1228       In IntInf, added these standard functions, which are missing from our
1229    implementation:
1230    
1231        andb : int * int -> int
1232        xorb : int * int -> int
1233        orb  : int * int -> int
1234        notb : int -> int
1235         <<   : int * word -> int
1236        ~>>  : int * word -> int
1237    
1238       Not tested, I hope they are correct.
1239    
1240    ----------------------------------------------------------------------
1241    Name: Allen Leung
1242    Date: Fri Dec  8 19:23:26 EST 2000
1243    Description:
1244    Tag:  leunga-20001208-nowhere
1245    Description:
1246    
1247      Slight improvements to the 'nowhere' tool to handle OR-patterns,
1248    to generate better error messages etc.  Plus a brief manual.
1249    
1250    ----------------------------------------------------------------------
1251    Name: Lal George
1252    Date: 2000/12/08 09:54:02 EST 2000
1253    Tag: Release_110_31
1254    Description:
1255    
1256    - Version 110.31
1257    ----------------------------------------------------------------------
1258    Name: Allen Leung
1259    Date: Thu Dec  7 22:01:04 EST 2000
1260    Tag:  leunga-20001207-cell-monster-hack
1261    Description:
1262    
1263    Major MLRISC internal changes.  Affect all clients.
1264    Summary:
1265    
1266    1.  Type CELLS.cell = int is now replaced by a datatype.
1267        As a result, the old regmap is now gone.  Almost all interfaces
1268        in MLRISC change as a consequence.
1269    
1270    2.  A new brand version of machine description tool (v3.0) that generates
1271        modules expecting the new interface.  The old version is removed.
1272    
1273    3.  The RA interface has been further abstracted into two new functors.
1274        RISC_RA and X86RA.  These functors have much simpler interfaces.
1275        [See also directory MLRISC/demo.]
1276    
1277    4.  Some other new source->source code generation tools are available:
1278    
1279        a. MLRISC/Tools/RewriteGen -- generate rewriters from rules.
1280        b. MLRISC/Tools/WhereGen -- expands conditional pattern matching rules.
1281           I use this tool to generate the peephole optimizers---with the new
1282           cell type changes, peephole rules are becoming difficult to write
1283           without conditional pattern matching.
1284    
1285    5.  More Intmap -> IntHashTable change.  Previous changes by Matthias didn't
1286        cover the entire MLRISC source tree so many things broke.
1287    
1288    6.  CM files have been moved to the subdirectory MLRISC/cm.
1289        They are moved because there are a lot of them and they clutter up the
1290        root dir.
1291    
1292    7.  More detailed documentation to come...
1293    
1294        NOTE: To rebuild from 110.30 (ftp distribution), you'll have to do
1295        a makeml -rebuild first.  This is because of other other
1296        changes that Matthias has made (see below).
1297    
1298    
1299    ----------------------------------------------------------------------
1300    Name: Matthias Blume
1301    Date: 2000/11/30 23:12:00 JST
1302    Tag: blume-20001130-filereorg
1303    Description:
1304    
1305    Some manual updates and some file reorganizations in CM.
1306    
1307    ----------------------------------------------------------------------
1308    Name: Matthias Blume
1309    Date: 2000/11/24 17:45:00 JST
1310    Tag: blume-20001124-link
1311    Description:
1312    
1313    Drastically improved link traversal code for the case that the dynamic
1314    value was already loaded at bootstrap time.  As a result, CM and CMB
1315    now both load blazingly fast -- even on a very slow machine.  Also,
1316    memory consumption has been further reduced by this.
1317    
1318    Warning: The format of the PIDMAP file has changed.  THerefore, to
1319    bootstrap you have to do this:
1320    
1321    1. Run CMB.make
1322    2. Make a symbolic link for the boot directory:
1323         ln -s sml.boot.ARCH-OS xxx
1324    3. "Rebuild" the boot directory:
1325         ./makeml -boot xxx -rebuild sml ; rm xxx
1326    4. Boot normally:
1327          ./makeml
1328    
1329    ----------------------------------------------------------------------
1330    Name: Matthias Blume
1331    Date: 2000/11/21 21:20:00 JST
1332    Tag: blume-20001121-tools
1333    Description:
1334    
1335    Continued hacking on autoloading problem -- with success this time.
1336    Also changed tool-plugin mechanism.  See new CM manual.
1337    
1338    ----------------------------------------------------------------------
1339    Name: Matthias Blume
1340  Date: 2000/11/19 14:30:00 JST  Date: 2000/11/19 14:30:00 JST
1341  Tag:  blume-20001119-autoload  Tag:  blume-20001119-autoload
1342  Description:  Description:
# Line 1643  Line 2966 
2966       elaborator). There were a lot of changes during my "linkpath" trials       elaborator). There were a lot of changes during my "linkpath" trials
2967       that could have been reverted to their original state but weren't.       that could have been reverted to their original state but weren't.
2968       Please, don't be too harsh on me for messing with this code a bit more       Please, don't be too harsh on me for messing with this code a bit more
2969       than what was strictly necessary...  (I _did_ resist the tempation       than what was strictly necessary...  (I _did_ resist the temptation
2970       of doing any "global reformatting" to avoid an untimely death at       of doing any "global reformatting" to avoid an untimely death at
2971       Dave's hands. :)       Dave's hands. :)
2972    

Legend:
Removed from v.734  
changed lines
  Added in v.927

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