I think the lack of performance gains may have to do with the actual build 
environment... but I don't know.  I know for a fact that Gentoo Linux 
compiled with the options I am trying to compile these rpm's with, is a good 
20-40% faster.  Especially at things like opening konqueror, mozilla, and X 
so we'll see


>From: Michael Fratoni <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Optimizing RPMs
>Date: Thu, 18 Jul 2002 22:45:26 -0400
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Thursday 18 July 2002 09:45 pm, Christensen Tom wrote:
> > I have RedHat 7.3 installed, it runs fine, but I thought to myself
> > today "why not take all these SRPMs and rebuild them as i686 and
> > optimized a bit, instead of i386".  However, I've been trying all
> > afternoon, and I can't find the setting to change the default rpm arch
> > to i686 from i386.  I set my CFLAGS, CXXFLAGS AND FFLAGS to "-O3
> > -march=i686.." and some others fomit-frame-pointer -pipe... anyway when
> > the RPM's build the compile commands look like they are optimizing, but
> > when it finishes it still says its an i386 ie
> > package-name-ver.i386.rpm.  Now, I doubt that these rpms will really
> > run on an i386, because the code is actually compiling i686 exclusive
> > optimized, but how do you get it to say its an i686 rpm?
>
>Just tell rpm what you want to do. ;)
>rpmbuild --rebuild --target=i686 package.src.rpm
>
>However, general concensus seems to be that you aren't going to see much,
>if any, performance gain.
>
>- --
>- -Michael
>
>pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
>Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/
>- --
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iEYEARECAAYFAj03fUYACgkQn/07WoAb/SuukACdEwLOHybPOa6icinJHhXYRObC
>32wAn3bfkNS8E2GCfswwTjrfyko1QNSm
>=KPX0
>-----END PGP SIGNATURE-----
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to