X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=INSTALL;h=f26fba6aa9059566d828eee546905487ba9363b2;hb=e6a7da3b222e1615e02e92ed5ac91bee5cb50acc;hp=ad3acf1175a59d885e0630306b78e26d6b57cab8;hpb=670d540fa681bc036303e18ebd362b44e2ea7461;p=lyx.git diff --git a/INSTALL b/INSTALL index ad3acf1175..f26fba6aa9 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++ @@ -84,11 +84,10 @@ compile LyX with up-to-date translations (at least gettext version The two following programs should be available at configuration time: - o Python 2.7 must be installed. Python is used for many simple tasks - that are executed by external scripts, such as the automatic - configuration step and the import of older LyX documents with the - lyx2lyx script (this script is called automatically when opening a - file). Python 3 (3.3 or later) support is work in progress. + o Python (2.7 or 3.5 and newer) must be installed. Python is used for many + simple tasks that are executed by external scripts, such as the automatic + configuration step and the import of older LyX documents with the lyx2lyx + script (this script is called automatically when opening a file). Creating the Makefile @@ -208,6 +207,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 +218,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 +232,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.