On Fri, 7 Dec 2012 16:13:44 +0000 Colin Watson <cjwatson@ubuntu.com> wrote: > Package: dpkg-cross > Version: 2.6.7 > Severity: normal > Tags: patch > > The cmake integration in dpkg-cross doesn't seem to work at all, or at > least not without some additional help. :-) The working version I just compared indeed does have some changes - mainly to replace the variables with hardcoded values because that packaging only cares about cross-building for a specific architecture. > Firstly, CMakeCross.txt uses ${DEB_HOST_ARCH} et al. The correct syntax > (not that I can find any coherent documentation of this) appears to be > $ENV{DEB_HOST_ARCH}. > > Secondly, the bit in the cmake documentation that says that you only > need to set one of CMAKE_C_COMPILER and CMAKE_CXX_COMPILER appears to be > what is technically known as a lie: or at least it doesn't work properly > in toolchain files. I found I needed to set both. The tests for this code never involved toolchain packages, so thanks for the extra testing. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
Attachment:
pgp1PGk6cKWPo.pgp
Description: PGP signature