+++ Daniel Glassey [04-08-04 08:38 +0100]:
> Hi,
> I don't know really what the deps problem is yet but alas I have more
> bad news. The build system isn't quite ready for cross compiling. The
> cdump tool is used later on in the build so that will fail since it is
> a non-native one.
OK, I've got it building (wahey!). Or at least abi itself.
Here's the patch that is necessary to make it cross-buildable.
This means that an evironment variable $BUILD_CDUMPTOOL can be set to the
path of the build machine version of cdump by the build system and it 'just
works'. Exactly how you want to integrate this with the existing scheme I'm
not sure.
I'm impressed with the cleanness of the build system - it's a lot better
than many packages.
--- abi/src/wp/ap/xp/GNUmakefile.am~ 2003-06-22 12:20:07.000000000 +0100
+++ abi/src/wp/ap/xp/GNUmakefile.am 2004-08-04 20:21:02.000000000 +0100
@@ -102,7 +102,7 @@
ap_wp_splash.cpp \
ap_wp_sidebar.cpp
-CDUMP=$(top_builddir)/src/tools/cdump/xp/cdump
+CDUMP=$(BUILD_CDUMPTOOL)
ap_wp_splash.cpp: $(CDUMP) $(srcdir)/splash.png
$(CDUMP) $(srcdir)/splash.png g_pngSplash > ap_wp_splash.cpp
--- abi/configure.ac~ 2004-07-14 19:33:07.000000000 +0100
+++ abi/configure.ac 2004-08-04 20:12:00.000000000 +0100
@@ -110,6 +110,9 @@
AC_SUBST(ABI_FE)
AC_SUBST(ABI_BE)
+dnl The cdump tool is used during the build so must be native
+AC_SUBST([BUILD_CDUMPTOOL])
+
ABI_DETECT_ICONV
ABIWORD_APP_NAME="AbiWord"
Wookey
-- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/Received on Wed Aug 4 22:56:17 2004
This archive was generated by hypermail 2.1.8 : Wed Aug 04 2004 - 22:56:17 CEST