[Lldb-commits] [lldb] r207912 - Remove obsolete CXX11 buld instructions

Alp Toker alp at nuanti.com
Sat May 3 08:05:40 PDT 2014


Author: alp
Date: Sat May  3 10:05:40 2014
New Revision: 207912

URL: http://llvm.org/viewvc/llvm-project?rev=207912&view=rev
Log:
Remove obsolete CXX11 buld instructions

There's an element of guesswork involved in the GCC updates but it seems better
than what was there before.

Modified:
    lldb/trunk/www/build.html

Modified: lldb/trunk/www/build.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/build.html?rev=207912&r1=207911&r2=207912&view=diff
==============================================================================
--- lldb/trunk/www/build.html (original)
+++ lldb/trunk/www/build.html Sat May  3 10:05:40 2014
@@ -150,31 +150,27 @@
                    ninja on your system. To build using ninja:
                 </p>
                 <code>
-                  > cmake .. -G Ninja -DLLVM_ENABLE_CXX11=ON
+                  > cmake .. -G Ninja
                   <br>> ninja lldb
                   <br>> ninja check-lldb
                 </code>
                 <h3>Using CMake + Unix Makefiles</h3>
                 <p>If you do not have Ninja, you can still use CMake to generate Unix Makefiles that build LLDB:</p>
                 <code>
-                  > cmake .. -DLLVM_ENABLE_CXX11=ON
+                  > cmake ..
                   <br>> make
                   <br>> make check-lldb
                 </code>
                 <h2>To build with autoconf</h2>
                 <p>If you do not have CMake, it is still possible to build LLDB using the autoconf build system. If you are using
-                   Clang or GCC 4.7+, run:</p>
-                <code>
-                  > $llvm/configure --enable-cxx11
-                  <br>> make </code>
-                <p>Or, if you are using a version of GCC that does not support the <tt>-std=c++11</tt> option:</p>
+                   Clang or GCC 4.8+, run:</p>
                 <code>
                   > $llvm/configure
-                  <br>> make CXXFLAGS=-std=c++0x</code>
-                <p>If you are building with a GCC that isn't the default gcc/g++, like gcc-4.7/g++-4.7</p>
+                  <br>> make </code>
+                <p>If you are building with a GCC that isn't the default gcc/g++, like gcc-4.9/g++-4.9</p>
                 <code>
-                  > $llvm/configure --enable-cxx11 CC=gcc-4.7 CXX=g++-4.7
-                  <br>> make CC=gcc-4.7 CXX=g++-4.7</code>
+                  > $llvm/configure CC=gcc-4.9 CXX=g++-4.9
+                  <br>> make CC=gcc-4.9 CXX=g++-4.9</code>
                 <p>If you are running in a system that doesn't have a lot of RAM (less than 4GB), you might want to disable
                     debug symbols by specifying DEBUG_SYMBOLS=0 when running make. You will know if you need to enable this
                     because you will fail to link clang (the linker will get a SIGKILL and exit with status 9).</p>





More information about the lldb-commits mailing list