Jeff, even if cross-compilation succeeded, our platform tests would not. Fortunately, they aren't actually needed since we have fixed values for what is and is not supported on w32. But this does involve some glue that isn't present at the moment to move apr.hw -> apr.h etc. Unfortunately some of our tests are build-time detection, some of our tests are run-time detection, and we've done a poor job of deliniating them or supporting cross compilation :(
Help is always appreciated. Bill Jeff Koftinoff wrote:
It would be really nice if configure worked for cross-compiling for mingw32 from linux/mac osx. I have the cross tools installed. I tried this command line: ../../apr/configure --host=i386-mingw32msvc --prefix=$PWD/usr and after many successful tests using i386-mingw32msvc-* tools in the log, I got this: Checking for Shared Memory Support... checking for library containing shm_open... no checking for sys/types.h... (cached) yes checking sys/mman.h usability... no checking sys/mman.h presence... no checking for sys/mman.h... no checking sys/ipc.h usability... no checking sys/ipc.h presence... no checking for sys/ipc.h... no checking sys/mutex.h usability... no checking sys/mutex.h presence... no checking for sys/mutex.h... no checking sys/shm.h usability... no checking sys/shm.h presence... no checking for sys/shm.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking kernel/OS.h usability... no checking kernel/OS.h presence... no checking for kernel/OS.h... no checking os2.h usability... no checking os2.h presence... no checking for os2.h... no checking for mmap... no checking for munmap... no checking for shm_open... no checking for shm_unlink... no checking for shmget... no checking for shmat... no checking for shmdt... no checking for shmctl... no checking for create_area... no checking for MAP_ANON in sys/mman.h... no checking for /dev/zero... yes ../../apr/configure:Error: decision on anonymous shared memory allocation method failed Jeff Koftinoff
