more cleanup to installation instructions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22960 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-02-12 10:10:54 +00:00
parent 0baeaadd2b
commit 03774c222e

31
INSTALL
View File

@ -100,19 +100,21 @@ For more complicated cases, LyX configure takes the following specific
flags: flags:
o --enable-build-type=[rel(ease), dev(elopment), pre(release)] o --enable-build-type=[rel(ease), dev(elopment), pre(release)]
allows to tweak the compiled code. The options are equivalent to: allows to tweak the compiled code. The following table describes
the settings in terms of various options that are described later
release: --enable-optimization=-O2 --disable-assertions release prerelease development
--disable-stdlib-debug --disable-concept-checks optimization -O2 -O2 -O
--disable-warnings --disable-debug assertions X X
stdlib-debug X
concept-checks X X
warnings X X
debug X X
prerelease: --enable-optimization=-O2 --enable-assertions The default are as follows in terms of version number
--disable-stdlib-debug --enable-concept-checks release: stable release (1.x.y)
--enable-warnings --enable-debug prerelease: version number contains alpha, beta, rc or pre.
development: version number contains svn.
development: --enable-optimization=-O --enable-assertions
--enable-stdlib-debug --enable-concept-checks
--enable-warnings --enable-debug
o --with-extra-lib=DIRECTORY that specifies the path where LyX will o --with-extra-lib=DIRECTORY that specifies the path where LyX will
find extra libraries (qt4) it needs. Defaults to NONE find extra libraries (qt4) it needs. Defaults to NONE
@ -199,8 +201,11 @@ give a value to the CXX variable.
If you encounter problems, please read the section 'Problems' at the end of If you encounter problems, please read the section 'Problems' at the end of
this file. this file.
In particular, the following options could be useful in some desperate The following options allow to tweak more precisely the generated code:
cases:
o --enable-profiling instruments the code for use with the gprof
profiler. The result are only meaningful in conjunction with
--enable-build-type=release.
o --enable-optimization=VALUE enables you to set optimization to a o --enable-optimization=VALUE enables you to set optimization to a
higher level as the default (-O), for example --enable-optimization=-O3. higher level as the default (-O), for example --enable-optimization=-O3.