Re: can I use dmesg to detect CPU type?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 23, 2005 at 05:31:49PM +0100, Dimitri Ognibene wrote:

I'd like to choose cpu specific CFLAGS, for Athlon,pentium 3,4,5,6,7...
Let the user choose the CFLAGS. Just give a hint in the README about adding optimized CFLAGS. Otherwise the package will always work only on hosts with exactly the same architecture as the target host (or, in your case, the build host), maybe even causing problems when exchanging mainboard + CPU of the target host (because the old ones died).
If you have different code for different CPUs (e.g. Athlon-optimized assembler code), compile all of those and choose one at runtime.


CU Sascha

--
http://sascha.silbe.org/

Attachment: pgpIpuaHyhiqt.pgp
Description: PGP signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux