-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 15 Apr 2014 14:33:47 -0400, Walter Dnes <mailto:dwn...@ntlworld.com> (waltd...@waltdnes.org) wrote about "Re: [gentoo-user] Questions about CPU settings in kernel and USE" (in <20140415183347.ga16...@waltdnes.org>):
> On Tue, Apr 15, 2014 at 03:42:31PM +0100, David W Noon wrote > >> If you specify -march=k8 in your CFLAGS, you should get pretty >> decent object code from GCC. > > I've used "-march=native" since it became available, because it's > one less thing to worry about. That's why I didn't ask about > CFLAGS. > > "echo | gcc -### -E - -march=native" spits out a whole bunch of > diagnostic output. In my case, it includes "-march=amdfam10", so > "-march=native" looks better. That's fine. The only thing is that many people use distcc to compile packages for a laptop on a desktop or server, and -march=native usually has different semantics on the server than on the laptop; thus it is better in such a situation to specify the hardware architecture explicitly. If you're not using distcc, no problems should arise. You should also check your CHOST setting to ensure you have x86_64-pc-linux-gnu specified. - -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlNNf50ACgkQRQ2Fs59Psv+tbwCgqwppw1+2j9SLQLGhcRVzyQ4G 7jgAmwc3DlJjPyf0SrmFnQ1R6CrX/t0X =s2VQ -----END PGP SIGNATURE-----