Lars Gullik Bjønnes wrote:

| >To set optimization level you should use --enable-optimization='-O2'
| >
| >
| Ok, tried this.  More exactly:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.
So --disable-stdlib-debug is not implied by --disable-debug?

Using  --enable-optimization=-O2 did not help.
Using -Os instead of -O2 gave me a much smaller binary, but
it did not help. Using just
$ ./configure --prefix=/usr/local --with-frontend=qt --with-qt-includes=/usr/include/qt3 --disable-debug

was just as bad.

the best I get is 5.2s for starting lyx, the worst I get is 5.4s depending
on the optimizations.  This on the 2.4GHz pentium.  I'll try throwing in
--disable-stdlib-debug next.

Helga Hafting



Reply via email to