public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Holler <holler@ahsoftware.de>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Optimized Qt
Date: Sat, 08 Jun 2002 10:23:49 +0200	[thread overview]
Message-ID: <117320000.1023524629@krabat.ahsoftware> (raw)
In-Reply-To: <Pine.LNX.4.44.0206071146010.14744-100000@thunderbird.junta.iitk.ac.in>

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



  reply	other threads:[~2002-06-08  8:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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   ` Alexander Holler [this message]
2002-06-08  9:07     ` Dan Armak
2002-06-08 10:42       ` Alexander Holler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=117320000.1023524629@krabat.ahsoftware \
    --to=holler@ahsoftware.de \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox