On 08/26/2010 11:27 PM, Sven Neumann wrote:
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
Enrico,
I confess that I need to modify some installed libtool file (.la) to
make other packages
link correctly against glib2. But as said Sven, configure script tests
results are settable,
see how I cross compile glib2 here [1].
However, installed libtool files are really broken in case of cross
compile, see in [1]
what I need to do to solve .la files issues.
[1]
http://www.embtoolkit.org/gitweb?p=embtoolkit.git;a=blob;f=packages/misc/glib/glib.mk;h=3096d838f5850f6e9f5d78c032879c696ba71184;hb=e7a4dcdf3e1399eac6583f630493a7e2bc173c62
Best regards,
AWG
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev