Hey Leen, that's a nice posting - i am looking for hints like that for a while now. I want to add that I just compiled qt 3.1.1 in /usr/local/qt-3.1.1/ with QTDIR=/usr/local/qt-3.1.1 and my special Pentium4 flags (-march=pentium4 -O3 -fomit-frame-pointer) set for gcc (have to modify a file in ./mkspecs/ subdir). For ./configure use -thread and enable gif support (see ./configure --help). Then I linked /usr/lib/qt3 to /usr/local/qt3 and made an 'ldconfig'. On the next start of SuSE KDE 3.0.5 the system uses qt-3.1.1 optimized for my CPU. I don't experienced any problems - but a slight improve in performance (i can not measure it, just 'feeling'). This is why i do not like SuSEs rpms - they are optimized for Pentium1 but with backward compatibilty to x486. The next steps should be: - compiling of KDE 3.1, gfx libraries and Freetype with P4 optimization (anything else is worth recompilng?) - give it a try with Intels icc (should improve P4 speed up to 100% over gcc) Who has any experiences or hints for that? Cheers, Tim On Friday 17 January 2003 08:19, Leendert Meyer wrote:
On Friday 17 January 2003 05:40, Daniel Eckl wrote:
Hi Fox!
Using software compiled from source and using yast to maintain packages will get you in serious trouble IMHO.
The only way to have both is: Build your software from sources and make RPM's out of them which you then can install via rpm (yast, etc).
Yes, this would be the Right Way. So, wait, until SuSE has the rpm's for KDE-3.1 ready and install those.
But: there's a 3rd way that I like to add:
http://konsole.kde.org/konstruct/
This is a kind of "Fancy Makefile System", and will download, compile, and install kde (currently: kde-3.1-rc6) for you, together with a lot of bells and wistles - if you want.
I installed kde-3.1-rc6 in my home directory (~/kde-3.1-rc6) and use this little script to start it on the 2nd graphical console <ctrl>-<alt>+<f8>:
----<kdetest>--- #! /bin/bash
KDE_VER="kde3.1-rc6"
export QTDIR="$HOME/$KDE_VER" export KDEDIR="$HOME/$KDE_VER"
export LD_LIBRARY_PATH="$KDEDIR/lib" export PATH="$KDEDIR/bin:$PATH"
export KDEHOME="$HOME/.kdetest"
WINDOWMANAGER="$KDEDIR/bin/startkde" startx -- :1 ----<kdetest>---
If the rpm's of kde-3.1 come out, I'll remove ~/kde-3.1-rc6, rename ~/.kdetest to .kde and install the rpm's.
Cheers,
Leen