On Thu, 16 May 2013 14:25:07 +0200 "Mian M. Hamayun" m.hamayun@virtualopensystems.com wrote:
but even this option doesn't work for me as the apparent lacking support for Aarch64 in "glib-2.12". I have used the following configure command: ./configure --prefix=/my/prefix/path --host=aarch64-linux-gnu --cache-file=aarch64.cache
Current dpkg-cross has a cross-config cache file for Aarch64 (arm64) but you also need to specify the --build triplet or some packages won't detect the cross-compilation.
The dpkg-cross config file is best handled as an environment variable:
http://wiki.debian.org/CrossBuildPackagingGuidelines
CONFIG_SITE=/etc/dpkg-cross/cross-config.$DEB_HOST_ARCH so CONFIG_SITE=/etc/dpkg-cross/cross-config.arm64
If you think there are other values not listed in the dpkg-cross files, please file a bug against the package in Debian, but start with the existing cache values. If those do not work, try *extending* the cache list.
with the following aarch64.cache file contents:
glib_cv_long_long_format=I64 glib_cv_stack_grows=no
That is almost certainly too short. The cache file needs to specify all necessary values for the entire cross-build.