Pavel Sanda wrote:
After installing kubuntu710, lyx153 compiles o. k., but lyx15svn and lyx160svn
do not. configuer lists at the end:
Configuration
Host type: i686-pc-linux-gnu
Special build flags: assertions pch concept-checks stdlib-debug
warnings use-aspell use-ispell
C Compiler: gcc
C Compiler LyX flags:
C Compiler flags: -Wextra -Wall -g -O
C++ Compiler: g++ (4.1.3)
C++ Compiler LyX flags:
C++ Compiler flags: -Wextra -Wall -g -O
configuration defaults (and also installed-packages demands) are different
in case you compile from .tar.gz bump and in a case you compile dircetly
from svn.
unless you are going to debug something your flags are not useful,
get rid of -g and switch optimization to O2.
Well, it's OK (and recommended unless you're a developer) to disable
stdlib-debug but please don't get rid of -g, at least for 1.6svn as this
will allow to report useful backtrace in case of crash. There's no speed
penalty by doing that IIRC, you just get a bigger executable, that's
all. Passing -O2 is fine, maybe -Os could reduce the executable size....
Abdel.