On Thu, 2010-08-26 at 22:59 +0200, Enrico Weigelt wrote: > * Abdoulaye Walsimou GAYE <a...@embtoolkit.org> schrieb: > > > Actually it cross compiles fine here (GTK+-2.x) in embtoolkit! > > Just tried to crosscompile recent glib2-2.25.14: > > >> checking if malloc() and friends prototypes are gmem.h compatible... yes > >> configure: error: in > >> `/home/crosstool/var/briegel/src/nibiru/glib2-1072273d132d6f5f27662d0e615d141523185339/glib2-2.25.14.999/_briegel_build_': > >> configure: error: cannot run test program while cross compiling > >> See `config.log' for more details. > > They still use the conceptionally broken AC_TRY_RUN(). [1] > So, the chain is broken, everything beyond that cannot be built. > Period.
That is really a problem in your build environment then. You can easily feed the expected result of AC_TRY_RUN tests to the configure script so that it will not attempt to run the tests. Pretty much any decent build environment out there has support to build glib2. Sven _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev