Hello,
I have another question related to cross compilation...
I am still trying to setup a functional cross compilation environment
for our packages. I want to be able to build without xdeb, using
debuild command (this is mainly because we use other tools such as
git-buildpackage).
When I build a package which has dependency on another .so file, my
./configure script fails, pkg-config complains that it cannot find my
package config file (which is available in
/usr/arm-linux-gnueabi/lib/pkgconfig.
If I set
PKG_CONFIG_LIBDIR to /usr/arm-linux-gnueabi/lib/pkgconfig,
then my build is fine, e.g. debuild
-ePKG_CONFIG_LIBDIR=/usr/arm-linux-gnueabi/lib/pkgconfig -b -aarmel -us
-uc.
Is that expected? I was looking around in xdeb, and I don't find where
this is being done, and I am sure it would be needed too since it ends
up calling debuild... In this process I noticed that xdeb is also
passing /etc/dpkg-cross/cross-config.armel to debuild. Should I do this
to?
I would appreciate any feedback on this.
thanks,
nicolas
note: I am using a maverick chroot, and Marcin's cross compiler.