3.0.3 won't optimize

Sean McGlynn sean at tmiau.com
Wed Sep 4 18:42:14 BST 2002

On Wednesday 04 September 2002 13:06, Chris Jensen wrote:
> Hi,
> I've been trying to upgrade from 3.0.2 to 3.0.3, while I can get it to
> compile, I can't get it to compile with the usual optimisations I use -
> objprelink, enable-final, disable-debug
> I'm installing into a fresh directory rather than installing over the top.
> When I specified all 3, kcminit would segfault during startup and the whole
> process would grind to a halt.
> If I only specify --enable-objprelink, I can't even compile kde-base as
> kde-config --prefix segfaults, so configure for kde-base gives:
>  	configure: error: /usr/local/kde/bin/kde-config --prefix outputed the non
> 	existant prefix '' for kdelibs.
> 		This means it has been moved since you installed it.
>   		This won't work. Please recompile kdelibs for the new prefix.
> I'm running linux 2.4.17, gcc, x 4.2.0 anmd qt 3.0.5
> Ive been compiling with CFLAGS=CXXFLAGS="-O2 -march=i686 -mcpu=i686"
> Is there anyway I can get it to compile while still retaining the nice
> optimisations?

Hello Chris,

I would suggest not using objprelink. Have a look at this posting for some 
more info on a better alternative 

You've got quite an old compiler there now as well, so you might want to 
consider moving to GCC 3.2. Install it locally first and have a play :-)
Upgrading the compiler means recompiling Qt, aRts and the whole of KDE 
though, as well as FAM if you use it.

Sean McGlynn
sean at tmiau.com

Seriously bored? So were these people!
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

More information about the kde mailing list