More about autoconf 2.63 and ENDIANness

robert delius royar xemacs at frinabulax.org
Wed Dec 31 15:26:01 EST 2008


The documents at 
http://www.gnu.org/software/autoconf/manual/html_node/C-Compiler.html
include a section "Macro: AC_C_BIGENDIAN" which describes how universal 
works.  Under the current XEmacs configure scripts the value of 
AC_C_BIGENDIAN == universal is interpretted to mean that it equals 'no.'
This assumption is true true iff the compilation is not leading 
to a universal binary AND is compiled for INTEL systems.  If the target 
is a ppc, then universal should be considered 'yes.'  The problem is 
compounded by a bit of code in c.m4 which assumes that requesting 
compilation for a ppc (i.e. -arch ppc or ppc64) means universal, 
assuming that the caller will understand this value and do further 
tests.

See also 
http://www.gnu.org/software/autoconf/manual/html_node/autoheader-Invocation.html#autoheader-Invocation
for information on how to configure for this.

-- 
Dr. Robert Delius Royar                   Associate Professor of English
Morehead State University                             Morehead, Kentucky

                                                      -S




More information about the XEmacs-Beta mailing list