On 04.07.2007, at 09:48, Abdelrazak Younes wrote:
What I need is some profiling results when my patch is applied. Do
you know how to do that with Shark? If not maybe Bennett or Stefan
could give you a hand. The important bits is to compile in release
mode, that is to say, with some optimisation (-O2), with debug
output (-g) but without -stdlib-debug.
What I will do now is:
svn up
"clean up all stuff from previous makes"
"apply patch"
export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -
framework QuickTime -lz -framework Cocoa -liconv"
./autogen.sh
./configure --prefix=/Applications/_eigene/LyX-svn.app --with-version-
suffix=-1.5-svn --without-x --with-frontend=qt4 --with-qt4-dir=/Users/
astifter/Documents/eclipse/qt-mac-opensource-install-4.3.0 --with-
included-gettext --enable-optimization=-O2 --disable-stdlib-debug --
disable-concept-checks
make
make install
"move the patched lyx to a place where i find it again"
"revert the patched files"
make
make install
Now I have LyX two times, one time with patch one time without it.
Then I run Shark to profile them, what do you need? Time Profile?
Then I will type in equations and in captions.
Is that the proper approach?
Andi