1 : |
mblume |
1348 |
I have not packaged the win32 port as an InstallShield(tm)
|
2 : |
|
|
bundle. Instead, I simply made a .zip file (smlnj.zip) that
|
3 : |
|
|
you can unzip to a location of your choice. There are two
|
4 : |
|
|
things to do "by hand" afterwards:
|
5 : |
|
|
|
6 : |
|
|
- set the environment variable SMLNJ_HOME to
|
7 : |
|
|
the name of the directory that you unzip'd smlnj.zip
|
8 : |
|
|
into
|
9 : |
|
|
- add %SMLNJ_HOME%\bin to your path
|
10 : |
|
|
|
11 : |
|
|
[Example: Suppose you unzip'd the .zip file into
|
12 : |
|
|
|
13 : |
|
|
c:\sml\blume\smlnj
|
14 : |
|
|
|
15 : |
|
|
Then the value of SMLNJ_HOME should be that, i.e.,
|
16 : |
|
|
the moral equivalent of
|
17 : |
|
|
|
18 : |
|
|
set SMLNJ_HOME=c:\sml\blume\smlnj
|
19 : |
|
|
|
20 : |
|
|
needs to be carried out. Moreover, you need to add the
|
21 : |
|
|
string
|
22 : |
|
|
|
23 : |
|
|
;c:\sml\blume\smlnj\bin
|
24 : |
|
|
|
25 : |
|
|
to the end of your path variable, i.e., you need to execute
|
26 : |
|
|
|
27 : |
|
|
path %PATH%;c:\sml\blume\smlnj
|
28 : |
|
|
|
29 : |
|
|
]
|
30 : |
|
|
|
31 : |
|
|
(Under win9x you need to either do this locally using the
|
32 : |
|
|
command prompt before you run sml, or you edit autoexec.bat
|
33 : |
|
|
and reboot. In WinXP you can do it by going to
|
34 : |
|
|
|
35 : |
|
|
Control Panel->Performance and Maintenance->System->
|
36 : |
|
|
Advanced->Environment Variables
|
37 : |
|
|
|
38 : |
|
|
From there it is obvious what needs to be done. Since I don't have
|
39 : |
|
|
access to other versions of win32 (NT, 2000, ...), I am not sure how to do
|
40 : |
|
|
things there. (But I am sure everything is similar to the XP case.)
|
41 : |
|
|
|
42 : |
|
|
Once the two variables are properly set, you should be able to
|
43 : |
|
|
launch sml/nj by typing "sml" into a command prompt...
|