[Build-common-hackers] Bug#450483: Pending! DEB_CONFIGURE_SCRIPT_ENV and cross-building

Neil Williams codehelp at debian.org
Sun Apr 4 08:15:22 UTC 2010

On Sun, 4 Apr 2010 00:44:44 +0200
Jonas Smedegaard <dr at jones.dk> wrote:

> tags 450483 pending
> thanks

> Apologies for the loooong wait.
> I have now improved CDBS to support cross-building, based on the 
> discussions in this bugreport.
> CDBS now also provides a few convenience variables to ease crossbuild 
> support for other classes than makefile.mk and autotools.mk.
> I noticed that qmake.mk, cmake.mk and scons.mk all explicitly set CC, 
> and wonder if if would make sense to do a similar hack as with the 

I've only got experience of CMake out of that list and it tends to need
more than just DEB_MAKE_ENVVARS to cross-build properly. It can work
but we need to use a CMakeListsCross.txt file to get CMake to
understand how to find the cross libraries etc. 

There's some discussion about this upstream with CMake:




Neil Williams

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20100404/d4563a42/attachment.pgp>

More information about the Build-common-hackers mailing list