-----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

Reply via email to