On Tue, 2010-06-22 at 23:41 +0300, Martin-Éric Racine wrote: > On Tue, Jun 22, 2010 at 11:27 PM, Gaetan Nadon <[email protected]> wrote: > > On Tue, 2010-06-22 at 22:12 +0300, Martin-Éric Racine wrote: > > > > In addition to exiting gracefully with a warning at ./configure time > > if the build host is non-x86, what if we enforced -march=geode if GCC > > > > You may want to look at AX_GCC_X86_CPUID and AX_GCC_ARCHFLAG which would do > > that for you. > > http://www.gnu.org/software/autoconf-archive/The-Macros.html#The-Macros > > Unless I misunderstood the description, these macros guess the target > based on the build host's architecture?
They use host_cpu (e.g. i*86) first and then look at the cpuid. You might have cross-compiling in mind. Generally speaking, there is not much one can do in configure.ac for cross-compiling. > > Martin-Éric
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xorg-driver-geode mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-driver-geode
