3 |
=============== |
=============== |
4 |
PREREQUISITES |
PREREQUISITES |
5 |
=============== |
=============== |
6 |
|
|
7 |
You must have TEEM installed, which you can get from |
You must have TEEM installed, which you can get from |
8 |
|
|
9 |
http://teem.sourceforge.net/download/index.html |
http://teem.sourceforge.net/download/index.html |
10 |
|
|
11 |
You also must have SML/NJ (version 110.74 or later) installed, which you can |
You also must have SML/NJ (version 110.75 or later) installed, which you can |
12 |
get from |
get from |
13 |
|
|
14 |
http://smlnj.org |
http://smlnj.org/dist/working/index.html |
15 |
|
|
16 |
Diderot is currently supported on Linux and Mac OS X. It requires a system that is |
Diderot is currently supported on Linux and Mac OS X. It requires a system that is |
17 |
capable of running 64-bit executables. Note that SML/NJ is a 32-bit program, so |
capable of running 64-bit executables. Note that SML/NJ is a 32-bit program, so |
21 |
=============== |
=============== |
22 |
SOURCE CHECKOUT |
SOURCE CHECKOUT |
23 |
=============== |
=============== |
24 |
|
|
25 |
You can checkout the stable version of the Diderot source tree with: |
You can checkout the stable version of the Diderot source tree with: |
26 |
|
|
27 |
svn co https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/trunk diderot |
svn co https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/trunk diderot |
67 |
(assuming that the Doxygen application is installed in the Applications |
(assuming that the Doxygen application is installed in the Applications |
68 |
folder). |
folder). |
69 |
|
|
|
|
|
70 |
=============== |
=============== |
71 |
INSTALLATION |
INSTALLATION |
72 |
=============== |
=============== |
76 |
% make local-install |
% make local-install |
77 |
|
|
78 |
This command will build the Diderot compiler (bin/diderotc) and |
This command will build the Diderot compiler (bin/diderotc) and |
79 |
runtime support. |
runtime support. Assuming that $ROOT is the root of the Diderot tree; |
80 |
|
the above make command will create the following files and directories: |
81 |
|
|
82 |
|
$ROOT/bin/diderotc -- the diderotc compiler script |
83 |
|
$ROOT/bin/.heap -- contains the diderotc heap image (used by |
84 |
|
the diderotc script) |
85 |
|
$ROOT/lib -- various versions of the Diderot runtime system |
86 |
|
compiled as ".o" files |
87 |
|
$ROOT/include/Diderot -- the Diderot header files, which are needed to |
88 |
|
compile the output of the diderotc compiler. |
89 |
|
|
90 |
|
It is also possible to install the system outside the Diderot tree. To do so, |
91 |
|
use the "--prefix" option to the configure command. For example: |
92 |
|
|
93 |
|
% configure --with-teem=/path/to/teem --prefix=/usr/local/Diderot |
94 |
|
% make install |
95 |
|
|
96 |
|
will install the Diderot compiler, libraries, and headers in /usr/local/Diderot. |