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

On Monday 16 June 2003 03:41, Jesse Kline wrote:
> packages of the apps I compile. I know that when building a src.rpm you
> can target a specific architecture, but I'm not sure how to do that when
> you compile a tarball. 

you usually use the gcc arch flags... i usually use -march=pentiumpro since i 
have Pentium based systems (pro, II, III... doesn't matter)... gcc's man/info 
pages list all the different arch options; you can also use the -mcpu and 
related flags, but i find -march nice and convenient...

instead of just running ./configure, you can do this:

CXXFLAGS='-march=pentiumpro' ./configure

substitute CXXFLAGS for whatever is the appropriate macro (e.g. CFLAGS) given 
the language you are using ... you can also pop other flags such as -O2 in 
there as well...

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE: The 'K' is for 'kick ass'
http://www.kde.org       http://promo.kde.org/3.1/feature_guide.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE+7kc71rcusafx20MRAs0QAJ42Ucus3k42Pm6T2Bkyk4Qe6/ZQVQCglfcl
/zYUGXx03NwAVsTHWiwxTUY=
=Apiq
-----END PGP SIGNATURE-----

Reply via email to