diff options
author | Cristian Cadar <cristic@cs.stanford.edu> | 2011-07-24 22:45:52 +0000 |
---|---|---|
committer | Cristian Cadar <cristic@cs.stanford.edu> | 2011-07-24 22:45:52 +0000 |
commit | 23b7f2edc9fa33f67c4875be458d178b3c4d3049 (patch) | |
tree | f7b3c8ab54170825af78fce411ee55782039ccef | |
parent | 525566420dd20baa306a567311ab7e8bdabe330c (diff) | |
download | klee-23b7f2edc9fa33f67c4875be458d178b3c4d3049.tar.gz |
Improved installation instructions a bit, and changed the
"officially supported" version of LLVM from 2.7 to 2.8. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@135894 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | www/GetStarted.html | 55 |
1 files changed, 31 insertions, 24 deletions
diff --git a/www/GetStarted.html b/www/GetStarted.html index 5a41a1f2..7c2e60de 100644 --- a/www/GetStarted.html +++ b/www/GetStarted.html @@ -60,32 +60,39 @@ KLEE is built on LLVM; the first steps are to get a working LLVM installation. See <a href="http://llvm.org/docs/GettingStarted.html">Getting Started with the LLVM System</a> for more information. -<p><b>NOTE:</b> KLEE is only currently tested on Linux and Darwin x86-32 -targets, using LLVM top-of-tree. KLEE will not work with an older LLVM (e.g., -2.5). We are currently working on full support for Linux and Darwin x86-64 -targets.<p> +<p><b>NOTE:</b> KLEE is only currently tested on Linux and Darwin +x86-32 and x86-64 targets, using LLVM 2.8. KLEE will not work with an +older LLVM (e.g., 2.5), and might not work with newer versions of LLVM +(e.g., 2.9 or 3.0) <p> <ol> <li>Install llvm-gcc: <ul> - <li>Download and install the LLVM 2.7 release of <tt>llvm-gcc</tt> - from <a href="http://llvm.org/releases/download.html">here</a>. Add - <tt>llvm-gcc</tt> to your <tt>PATH</tt>. It is important to do this first - so that <tt>llvm-gcc</tt> is found in subsequent <tt>configure</tt> - steps. <tt>llvm-gcc</tt> will be used later to compile programs that KLEE - can execute.</li> + <li>Download and install the LLVM 2.8 release of <tt>llvm-gcc</tt> + from <a href="http://llvm.org/releases/download.html">here</a>. + + <br/><b>Add <tt>llvm-gcc</tt> to your <tt>PATH</tt></b>. It + is important to do this first so that <tt>llvm-gcc</tt> is + found in subsequent <tt>configure</tt> + steps. <tt>llvm-gcc</tt> will be used later to compile + programs that KLEE can execute. + </li> + + <li><b>Forgetting to add llvm-gcc to your PATH at this point is + by far the most common source of build errors reported by new + users.</b></li> </ul> </li> - <li><a href="http://llvm.org/releases/download.html#2.7">Download and build - LLVM 2.7</a> (you may also use SVN head, but klee may not always be + <li><a href="http://llvm.org/releases/download.html#2.8">Download and build + LLVM 2.8</a> (you may also use SVN head, but klee may not always be up-to-date with LLVM API changes). <div class="instr"> - $ curl -O http://llvm.org/releases/2.7/llvm-2.7.tgz <br> - $ tar zxvf llvm-2.7.tgz <br> - $ cd llvm-2.7 <br> - $ ./configure --enable-optimized <br> + $ curl -O http://llvm.org/releases/2.8/llvm-2.8.tgz <br/> + $ tar zxvf llvm-2.8.tgz <br/> + $ cd llvm-2.8 <br/> + $ ./configure --enable-optimized --enable-assertions<br/> $ make </div> @@ -125,8 +132,8 @@ targets.<p> <li>Run the regression suite to verify your build: <div class="instr"> - $ make check<br> - $ make unittests<br> + $ make check<br/> + $ make unittests<br/> </div> </li> @@ -161,9 +168,9 @@ library.</p> <li>Build uClibc with <tt>llvm-gcc</tt>: <div class="instr"> - $ tar zxvf klee-uclibc-0.01.tgz <br> - $ ./configure --with-llvm=<i>path/to/llvm</i> <br> - $ make <br> + $ tar zxvf klee-uclibc-0.01.tgz <br/> + $ ./configure --with-llvm=<i>path/to/llvm</i> <br/> + $ make <br/> </div> <p><b>NOTE:</b> KLEE's uClibc is shipped in a pre-configured for x86-32. If @@ -201,9 +208,9 @@ co</tt> command.</p> <ol> <li>Download and build STP. <div class="instr"> - $ svn co -r 940 https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp stp <br> - $ cd stp <br> - $ scripts/configure --with-prefix=<i>path/to/stp/inst</i> --with-cryptominisat2 <br> + $ svn co -r 940 https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp stp <br/> + $ cd stp <br/> + $ scripts/configure --with-prefix=<i>path/to/stp/inst</i> --with-cryptominisat2 <br/> $ make OPTIMIZE=-O2 CFLAGS_M32= install </div> </li> |