[Gdal-dev] cross compile problems
alexamici at tiscali.it
Sun Sep 7 15:36:40 EDT 2003
> during my libtool work i happened to try to cross-compile from linux for
> mingw32 and i hit a couple of problems in the aclocal.m4 macros.
> i don't know if you are interested in supporting cross-compiles, if you do,
> then you have to address at least the following issues:
> - all tests that unconditionally try to _run_ a sample program fail,
> i.e. the byte-order test breaks on cross-compiles:
> "checking whether byte ordering is bigendian... ./configure: line 1:
> ./conftest: cannot execute binary file
any argument against the standard autoconf test for bigendianess?
diff -u -r1.66 configure.in
--- configure.in 7 Sep 2003 19:31:36 -0000 1.66
+++ configure.in 7 Sep 2003 19:33:37 -0000
@@ -24,7 +24,7 @@
AC_CHECK_HEADERS(fcntl.h unistd.h dbmalloc.h dlfcn.h stdint.h limits.h)
dnl Checks for library functions.
it is advertized as working with cross compiles too.
More information about the Gdal-dev