@@ -10,7 +10,7 @@ Prereqs:
10
10
On Ubuntu, all non-standard prerequisites can be installed like this:
11
11
12
12
sudo apt-get install libfile-which-perl libregexp-common-perl \
13
- indent astyle delta libexporter-lite-perl
13
+ indent astyle delta libexporter-lite-perl
14
14
15
15
On other systems, install these packages either manually or using the
16
16
package manager:
@@ -29,35 +29,44 @@ Perl modules
29
29
File::Which
30
30
Regexp::Common
31
31
32
- for example (perhaps as root):
32
+ For example, (perhaps as root):
33
33
34
34
cpan -i 'Exporter::Lite'
35
35
cpan -i 'File::Which'
36
36
cpan -i 'Regexp::Common'
37
37
38
38
--------------------------------------------------------------------
39
- Building and installing the clang_delta plugin
39
+ Building and installing C-Reduce and the clang_delta plugin
40
40
41
41
1. Download, build, and install the latest LLVM/Clang from their
42
42
repository:
43
43
44
44
http://llvm.org/docs/GettingStarted.html#checkout
45
45
46
- [ Note: If you're having trouble with their trunk, you can use
46
+ Note: If you're having trouble with their trunk, you can use
47
47
LLVM/Clang 3.0 instead, but in that case you'll have to grab an older
48
- C-Reduce tagged "creduce-1.0.0".]
48
+ C-Reduce tagged "creduce-1.0.0".
49
49
50
- 2. Build the plugin :
50
+ 2. Build the C-Reduce software distribution :
51
51
52
- cd clang_delta
53
- export LLVM_PATH=PATH_TO_CLANG_INSTALLATION
52
+ # cd to where you want to build the package, then:
53
+ configure
54
54
make
55
- cp clang_delta SOME_DIRECTORY_IN_PATH
55
+ make install
56
56
57
- Note that assertions are enabled by default. To disable assertions,
58
- build the program with:
57
+ The `configure' script was generated by GNU Autoconf, and therefore
58
+ accepts the usual options for naming the installation directories,
59
+ choosing the compilers you want to use, and so on. `configure --help'
60
+ summarizes the command-line options.
59
61
60
- DISABLE_TRANS_ASSERT=1 make
62
+ If LLVM/Clang is not in your search path, you can tell the `configure'
63
+ script where to find LLVM/Clang:
61
64
62
- --------------------------------------------------------------------
65
+ # Use the LLVM/Clang tree rooted at /opt/llvm
66
+ configure --with-llvm=/opt/llvm
67
+
68
+ Note that assertions are disabled by default. To enable assertions:
63
69
70
+ configure --enable-trans-assert
71
+
72
+ --------------------------------------------------------------------
0 commit comments