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.bat
ViewVC logotype

Diff of /config/trunk/install.bat

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

sml/trunk/config/install.bat revision 1398, Tue Sep 30 21:09:27 2003 UTC config/trunk/install.bat revision 2795, Fri Oct 19 22:07:04 2007 UTC
# Line 4  Line 4 
4  REM  REM
5  REM Author: Matthias Blume (blume@tti-c.org)  REM Author: Matthias Blume (blume@tti-c.org)
6    
7    if "%SMLNJ_HOME%"=="" (echo Please set the SMLNJ_HOME environment variable && goto :EOF)
8    if NOT EXIST %SMLNJ_HOME%\sml.boot.x86-win32 (echo Please expand the boot.x86-win32.tgz file to the root of your SMLNJ source tree && goto :EOF)
9    
10  REM begin by creating rudimentary directory hierarchy  REM begin by creating rudimentary directory hierarchy
11    if EXIST bin (rmdir /s /q bin)
12  mkdir bin  mkdir bin
13  mkdir bin\.run  mkdir bin\.run
14  mkdir bin\.heap  mkdir bin\.heap
15  mkdir lib  mkdir lib
16    
17  REM compile runtime system and move executable to bin\.run  REM compile runtime system and move executable to bin\.run
18  cd src\runtime\objs  cd base\runtime\objs
19  nmake -f mk.x86-win32  nmake -f mk.x86-win32
20  move run.x86-win32.exe ..\..\..\bin\.run  copy /y run.x86-win32.exe ..\..\..\bin\.run\run.x86-win32.exe
21  cd ..\..\..  cd ..\..\..
22    
23  REM put helper .bat scripts into bin  REM put helper .bat scripts into bin
24  copy config\link-sml.bat bin  copy config\link-sml.bat bin
25  copy config\ml-build.bat bin  copy config\ml-build.bat bin
26  copy config\sml.bat bin  copy config\sml.bat bin
27  copy config\ml-lex.bat bin  
28  copy config\ml-yacc.bat bin  REM copy config\ml-lex.bat bin
29    REM copy config\lexgen.bat bin
30    REM copy config\ml-yacc.bat bin
31    
32  REM create heap image and lib hierarchy ("boot")  REM create heap image and lib hierarchy ("boot")
33  copy config\preloads preloads.standard  copy config\preloads preloads.standard
34  cd sml.boot.x86-win32  cd sml.boot.x86-win32
35  ..\bin\.run\run.x86-win32 @SMLboot=BOOTLIST @SMLheap=sml @SMLalloc=1M @SMLverbose  ..\bin\.run\run.x86-win32.exe @SMLboot=BOOTLIST @SMLheap=sml @SMLalloc=1M @SMLverbose
36  cd ..  cd ..
37  move sml.x86-win32 bin\.heap  move sml.x86-win32 bin\.heap
38  del preloads.standard  del preloads.standard
39  cd sml.boot.x86-win32  cd sml.boot.x86-win32
40  for /D %%a in (*.*) do echo %%a %%a >>..\lib\pathconfig  for /D %%a in (*.*) do echo %%a %%a >>..\lib\pathconfig
41  for /D %%a in (*.*) do move %%a ..\lib  for /D %%a in (*.*) do xcopy /e /y /h /i %%a ..\lib\%%a
42  cd ..  cd ..
43    
44  REM Do all the rest using the precompiled installer.  REM Do all the rest using the precompiled installer.
45  %COMSPEC% /C "bin\sml -m $smlnj/installer.cm"  %COMSPEC% /C "bin\sml.bat -m $smlnj/installer.cm"

Legend:
Removed from v.1398  
changed lines
  Added in v.2795

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