Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /branches/vis12/INSTALL
ViewVC logotype

Annotation of /branches/vis12/INSTALL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2457 - (view) (download)

1 : jhr 123 Build instructions for the Diderot compiler
2 :    
3 : jhr 1113 ===============
4 :     PREREQUISITES
5 :     ===============
6 : jhr 2456
7 : jhr 1113 You must have TEEM installed, which you can get from
8 : jhr 123
9 : glk 1337 http://teem.sourceforge.net/download/index.html
10 : jhr 1113
11 : jhr 2457 You also must have SML/NJ (version 110.75 or later) installed, which you can
12 : jhr 1113 get from
13 :    
14 : jhr 2456 http://smlnj.org/dist/working/index.html
15 : jhr 1113
16 : jhr 1270 Diderot is currently supported on Linux and Mac OS X. It requires a system that is
17 :     capable of running 64-bit executables.
18 : jhr 1113
19 :     ===============
20 : glk 1266 SOURCE CHECKOUT
21 :     ===============
22 : jhr 2456
23 : jhr 1270 You can checkout the stable version of the Diderot source tree with:
24 : glk 1266
25 : glk 1337 svn co https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/trunk diderot
26 : glk 1266
27 : glk 1337 An anonymous checkout is available via user name "anonsvn" and
28 :     password "anonsvn". At times, there may also be unstable or
29 :     experimental development branches. You can explore these using the
30 :     web interface at
31 : jhr 1270
32 : glk 1337 https://smlnj-gforge.cs.uchicago.edu/scm/viewvc.php/?root=diderot
33 : jhr 1270
34 : glk 1266 ===============
35 : jhr 1113 CONFIGURATION
36 :     ===============
37 :    
38 : jhr 1232 Run autoheader:
39 :    
40 : glk 1337 % autoheader -Iconfig
41 : jhr 1232
42 : jhr 123 Run autoconf:
43 :    
44 : glk 1337 % autoconf -Iconfig
45 : jhr 123
46 : jhr 1232 Configure the makefiles etc.
47 : jhr 123
48 : glk 1337 % ./configure --with-teem=/path/to/teem
49 : jhr 123
50 : glk 1337 where "/path/to/teem" is the full path of the directory
51 :     containing the "lib" and "include" directories containing
52 :     "libteem.{a,so,dylib}" and "teem/*.h", respectively.
53 : jhr 1113
54 : jhr 1640 You can also specify the location of the doxygen executable at
55 :     configuration time using the option
56 :    
57 :     --with-doxygen=/path/to/doxygen
58 :    
59 :     Doxygen (http://doxygen.org) is used to generate documentation
60 :     for the runtime system. If you have the Doxygen application
61 :     installed on the Mac, you should specify
62 :    
63 :     --with-doxygen=/Applications/Doxygen.app/Contents/Resources/doxygen
64 :    
65 :     (assuming that the Doxygen application is installed in the Applications
66 :     folder).
67 :    
68 : jhr 1113 ===============
69 :     INSTALLATION
70 :     ===============
71 :    
72 :     From the root of the Diderot tree, run
73 :    
74 : glk 1337 % make local-install
75 : jhr 1113
76 : glk 1337 This command will build the Diderot compiler (bin/diderotc) and
77 : jhr 2456 runtime support. Assuming that $ROOT is the root of the Diderot tree;
78 :     the above make command will create the following files and directories:
79 :    
80 :     $ROOT/bin/diderotc -- the diderotc compiler script
81 :     $ROOT/bin/.heap -- contains the diderotc heap image (used by
82 :     the diderotc script)
83 :     $ROOT/lib -- various versions of the Diderot runtime system
84 :     compiled as ".o" files
85 :     $ROOT/include/Diderot -- the Diderot header files, which are needed to
86 :     compile the output of the diderotc compiler.
87 :    
88 :     It is also possible to install the system outside the Diderot tree. To do so,
89 :     use the "--prefix" option to the configure command. For example:
90 :    
91 :     % configure --with-teem=/path/to/teem --prefix=/usr/local/Diderot
92 :     % make install
93 :    
94 :     will install the Diderot compiler, libraries, and headers in /usr/local/Diderot.

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