Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/config/install.bat
ViewVC logotype

Annotation of /sml/trunk/config/install.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1342 - (view) (download) (as text)

1 : mblume 1342 REM begin by creating rudimentary directory hierarchy
2 :     mkdir bin
3 :     mkdir bin\.run
4 :     mkdir bin\.heap
5 :     mkdir lib
6 :    
7 :     REM compile runtime system and move executable to bin\.run
8 :     cd src\runtime\objs
9 :     nmake -f mk.x86-win32
10 :     move run.x86-win32.exe ..\..\..\bin\.run
11 :     cd ..\..\..
12 :    
13 :     REM put helper .bat scripts into bin
14 :     copy config\link-sml.bat bin
15 :     copy config\ml-build.bat bin
16 :     copy config\sml.bat bin
17 :     copy config\ml-lex.bat bin
18 :     copy config\ml-yacc.bat bin
19 :    
20 :     REM create heap image and lib hierarchy ("boot")
21 :     copy config\preloads preloads.standard
22 :     cd sml.boot.x86-win32
23 :     ..\bin\.run\run.x86-win32 @SMLboot=BOOTLIST @SMLheap=sml @SMLalloc=1M @SMLverbose
24 :     cd ..
25 :     move sml.x86-win32 bin\.heap
26 :     del preloads.standard
27 :     cd sml.boot.x86-win32
28 :     for /D %%a in (*.*) do echo %%a %%a >>..\lib\pathconfig
29 :     for /D %%a in (*.*) do move %%a ..\lib
30 :     cd ..
31 :    
32 :     REM compile and install ml-lex
33 :     cd src\ml-lex
34 :     %COMSPEC% /C "..\..\bin\ml-build ml-lex.cm ExportLexGen.lexGen ml-lex"
35 :     move ml-lex.x86-win32 ..\..\bin\.heap
36 :     cd ..\..
37 :     echo ml-lex ..\bin >>lib\pathconfig
38 :    
39 :     REM compile and install ml-yacc
40 :     cd src\ml-yacc\src
41 :     %COMSPEC% /C "..\..\..\bin\ml-build ml-yacc.cm ExportParseGen.parseGen ml-yacc"
42 :     move ml-yacc.x86-win32 ..\..\..\bin\.heap
43 :     cd ..\..\..
44 :     echo ml-yacc ..\bin >>lib\pathconfig

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