* Re: [gentoo-dev] Optimized Qt
@ 2002-06-08 8:23 99% ` Alexander Holler
0 siblings, 0 replies; 1+ results
From: Alexander Holler @ 2002-06-08 8:23 UTC (permalink / raw
To: gentoo-dev
Hello,
--On Freitag, Juni 07, 2002 11:50:38 +0530 Prashanth Aditya Susarla
<aditya@iitk.ac.in> wrote:
> Someone wanted to know if Qt compiled with higher optimization than its
> default was stable or not. I have just merged Qt compiled with
> -march=athlon-tbird -O3 -fomit-frame-pointer -pipe -mmmx -m3dnow
> (gcc-3.1, binutils-2.12.90.0.7, glibc-2.2.5-r4) and the emerge completed
> successfully. I am also working in my KDE now and there seem to be no
> breakages/crashes.
> Untar qt-copy-3.0.4.tar.bz2 and edit
> qt-copy-3.0.4/mkspecs/linux-g++/qmake.conf (it was linux-g++ in my case,
> it could be different for others) and re-archive the entire tree. Then
> ebuild qt-3.0.4-20020606-r1.ebuild digest would recompute the digests and
> one can proceed with the emerge. Obviously, this new digest file would be
> overwritten in the next emerge rsync.
Good idea, maybe this could go into the next ebuild, here's a patch for the
actual ebuild:
---------------------------------------------------------------------------
----------------
--- qt-3.0.4.20020606-r1.ebuild.ori 2002-06-08 09:59:05.000000000 +0200
+++ qt-3.0.4.20020606-r1.ebuild 2002-06-08 10:22:09.000000000 +0200
@@ -49,6 +49,8 @@
cp configure configure.orig
sed -e 's:read acceptance:acceptance=yes:' \
-e 's:|-repeater|:|-nas-sound|-repeater|:' configure.orig >
configure
+ cp mkspecs/linux-g++/qmake.conf mkspecs/linux-g++/qmake.conf.orig
+ sed -e "s/-O2/${CFLAGS}/" mkspecs/linux-g++/qmake.conf.orig >
mkspecs/linux-g++/qmake.conf
}
---------------------------------------------------------------------------
----------------
Regards,
Alexander
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
[not found] <Pine.LNX.4.44.0206071146010.14744-100000@thunderbird.junta.iitk .ac.in>
2002-06-07 6:20 ` [gentoo-dev] Optimized Qt Prashanth Aditya Susarla
2002-06-08 8:23 99% ` Alexander Holler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox