From: jeroen <je...@fo...> - 2003-01-11 03:47:15
|
On Friday 10 January 2003 09:56 am, you wrote: > Hello, > > as already pointed in the FAQ, there is a problem with the AC_C_BYTEORDER > macros in the configure script when cross-compiling to Win32 from unix, > using mingw32 (downloaded from the SDL site). Examining the autoconf's > "aclang.m4" file, it's clear that autoconf doesn't allow to run the little > test program used as a fallback byteorder determination while > cross-compiling (the running plateform would not be the target plateform). > > So, here are patches to the FOX "configure.in" files, one for the stable > 1.0.28 version, and one that works for both 1.1.21 (unstable) and 1.1.22 > (yesterday's snapshot) versions. The new test takes place when the compiler > system name is known (CYGWIN or MINGW32). Then, it just assumes that > Mingw32 implies (cross) compiling to Win32, that in turn implies that we > are targeted at an x86 architecture, and thus, the byteorder is set to the > value '0', and the autoconf's variable WORDS_BIGENDIAN is not set. > > Best regards, > Pierre. Thanks. It seems to work [I hope it works better now with x-compiling too]. I will redrop 1.0.30 also. - Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 23:00 01/10/2003 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ |