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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1398 - (download) (as text) (annotate)
Tue Sep 30 21:09:27 2003 UTC (17 years, 6 months ago) by mblume
File size: 1033 byte(s)
PRIM_IO; .bat-files
REM Win32 installer for SML/NJ.
REM (C) 2003 The Fellowship of SML/NJ.
REM Author: Matthias Blume (blume@tti-c.org)

REM begin by creating rudimentary directory hierarchy
mkdir bin
mkdir bin\.run
mkdir bin\.heap
mkdir lib

REM compile runtime system and move executable to bin\.run
cd src\runtime\objs
nmake -f mk.x86-win32
move run.x86-win32.exe ..\..\..\bin\.run
cd ..\..\..

REM put helper .bat scripts into bin
copy config\link-sml.bat bin
copy config\ml-build.bat bin
copy config\sml.bat bin
copy config\ml-lex.bat bin
copy config\ml-yacc.bat bin

REM create heap image and lib hierarchy ("boot")
copy config\preloads preloads.standard
cd sml.boot.x86-win32
..\bin\.run\run.x86-win32 @SMLboot=BOOTLIST @SMLheap=sml @SMLalloc=1M @SMLverbose
cd ..
move sml.x86-win32 bin\.heap
del preloads.standard
cd sml.boot.x86-win32
for /D %%a in (*.*) do echo %%a %%a >>..\lib\pathconfig
for /D %%a in (*.*) do move %%a ..\lib
cd ..

REM Do all the rest using the precompiled installer.
%COMSPEC% /C "bin\sml -m $smlnj/installer.cm"

ViewVC Help
Powered by ViewVC 1.0.0