X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=INSTALL;h=2847ad807f80ac6f44c5584e9fa0a1b24351452a;hb=5908bb3ea6e6962308c70bd05a7f61baa8f2e0ce;hp=ad3acf1175a59d885e0630306b78e26d6b57cab8;hpb=670d540fa681bc036303e18ebd362b44e2ea7461;p=lyx.git diff --git a/INSTALL b/INSTALL index ad3acf1175..2847ad807f 100644 --- a/INSTALL +++ b/INSTALL @@ -53,7 +53,7 @@ Requirements ------------ First of all, you will need a C++11 standard conforming compiler, like gcc (at -least 4.8) or clang. +least 4.9) or clang. LyX makes great use of the C++ Standard Template Library (STL). This means that gcc users will have to install the relevant libstdc++ @@ -208,6 +208,10 @@ The following options allow you to tweak the generated code more precisely (see the description of --enable-build-type for the default values): + o --enable-cxx-mode=VALUE can be used to select a C++ standard, for + example --enable-cxx-mode=11. The default is to try C++14, and then + C++11. + o --enable-optimization=VALUE enables you to set optimization to a higher level than the default, for example --enable-optimization=-O3. @@ -215,11 +219,6 @@ values): optimization of LyX. The compile may be much quicker with some compilers, but LyX will run more slowly. - o --disable-std-regex forces the compiler to use boost::regex. The - default is to use std::regex for known good C++ libraries, but the - test is not robust for clang. --enable-std-regex will force the - use of std::regex. - o --enable-debug will add debug information to your binary. This requires a lot more disk space, but is a must if you want to try to debug problems in LyX. There is no run-time penalty. @@ -234,13 +233,9 @@ values): o --enable-stdlib-debug adds some debug code in the standard library; this slows down the code, but has been helpful in the past to find bugs. Note that this is in general incompatible with - the system boost library (which is used when - --without-included-boost is specified). You may have to use + the system hunspell library (as of version 1.5). You may have to use --disable-stdlib-debug when linking development versions against - your system's boost library. - The same problem applies to hunspell (as of hunspell 1.5). So either - compile --with-included-hunspell or --disable-stdlib-debug when - linking development versions against your system's hunspell library. + your system's hunspell library.