[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: possible KMail speedup
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2001-10-04 17:24:07
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 04 October 2001 15:21, Michael Häckel wrote:
> On Wednesday 03 October 2001 12:10, Marc Mutz wrote:
> > The problem was that the option is called -march=pentiumpro (note
> > the single leading dash...) It works both ways now.
>
> Shouldn't this be done the optimal way for all KDE packages then, not
> only for KMail?

I do it the optimal way (for me): I have amended my script which calls 
./configure to call it now so:

CXXFLAGS="-march=pentiumpro" CFLAGS="-g -O2 -march=pentiumpro" \
./configure --prefix=$KDEDIR --with-qt-include=$QTDIR/include \
- --with-qt-libraries=$QTDIR/lib "$@"

(the -g -O2 in CFLAGS is needed for kdesupport; simply using 
CFLAGS="-march=pentiumpro" somehow erases -O2 -g in the build, which it 
doesn't for CXXFLAGS)

> The configure script has to detect the CPU model though, or at least
> needs a parameter for this.
<snip>

The problem here is that distributions need to build for all possible 
processors. They generally can't use -march=pentiumpro, only =pentium 
at the maximum (mandrake does this, IIRC), most stick with i386 to play 
safe.

An arch switch should be avaliable in stock automake/conf, but I was too 
lazy to search for it. Baking a KDE-only solution isn't worth it, IMO.

Marc

- -- 
Ein Grundrecht auf Sicherheit steht bewusst nicht in der Verfassung.
  -- Sabine Leutheusser-Schnarrenberger (ehem. Bundesjustizministerin)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7vJs33oWD+L2/6DgRAtC0AJ9L1DXPDbLljVlmlWR1yfFXlTpJbwCcCVOY
bs9nJSC7Sn55riXynqg7/ok=
=Rg6a
-----END PGP SIGNATURE-----

_______________________________________________
Kmail Developers mailing list
Kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic