1 |
I have not packaged the win32 port as an InstallShield(tm) |
I have not packaged the win32 port as an InstallShield(tm) |
2 |
bundle. Instead, I simply made a .zip file (smlnj.zip) that |
bundle. Instead, I simply made a .zip file (smlnj.zip) that |
3 |
you can unzip to a location of your choice. There are two |
one can unzip to a location of one's choice. There are two |
4 |
things to do "by hand" afterwards: |
things to do "by hand" afterwards: |
5 |
|
|
6 |
- set the environment variable SMLNJ_HOME to |
- set the environment variable SMLNJ_HOME to |
41 |
|
|
42 |
Once the two variables are properly set, you should be able to |
Once the two variables are properly set, you should be able to |
43 |
launch sml/nj by typing "sml" into a command prompt... |
launch sml/nj by typing "sml" into a command prompt... |
44 |
|
|
45 |
|
-------------------------------------------------------------------------- |
46 |
|
|
47 |
|
To compile from scratch, assuming Microsoft Visual Studio: |
48 |
|
|
49 |
|
- set path to include C compiler bin directory |
50 |
|
(e.g., path %PATH%;"c:\Program Files\Microsoft Visual Studio\VC98\Bin") |
51 |
|
- run "vcvars32" command |
52 |
|
- create the full SML/NJ source hierarchy |
53 |
|
(most convenient: do a CVS checkout; alternative: unzip and untar |
54 |
|
all the source archives) |
55 |
|
- unzip and untar boot.x86-win32.tgz into the root of the source tree |
56 |
|
- set environment variable SMLNJ_HOME to root of source tree |
57 |
|
- edit config\targets to one's taste (careful: don't enable the |
58 |
|
ml-nlffi stuff as it is not ready for win32 yet!) |
59 |
|
- run config\install.bat |