autoconf
[Top][All Lists]
Advanced

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

Re: can I use dmesg to detect CPU type?


From: Sascha Silbe
Subject: Re: can I use dmesg to detect CPU type?
Date: Wed, 23 Feb 2005 17:51:33 +0100
User-agent: Mutt/1.5.6i

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: pgpA_DOwcWCJp.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]