[libdispatch-dev] autoconf HAVE macro conventions
bonzini at gnu.org
Fri Oct 30 13:15:06 PDT 2009
> Mac OS X projects usually use the same set of source files for all of
> the multiple machine architectures that the project is be built for.
> This can cause problems when a configure-time check doesn't match the
> target architecture. An example that has come up in the past is
> configure-time detection of endianness. If configure was run on a
> PowerPC machine, the generated config.h would indicate that the machine
> was big-endian:
AC_C_BIGENDIAN supports universal binaries. You just have to run
./configure CC='gcc -arch i686 -arch ppc'
(or anyway use the appropriate GCC flags).
Are there any other cases?
More information about the libdispatch-dev