[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Long-term mass bug filing for crossbuild support

On Tue, Nov 06, 2007 at 01:04:48PM +0000, Neil Williams wrote:
> This is one of the changes sought by Emdebian to support using Debian
> on embedded devices where storage space is far from cheap and involves
> running counter to the current Debian default of "install everything
> that works, every time, every package".
> http://lists.debian.org/debian-devel/2007/11/msg00116.html
> Emdebian has currently built 91 Debian source packages in the
> preparation of the basic root filesystem and other testing of the
> toolset. All of those have involved some level of patches to support
> cross-building with CDBS packages needing the least.
> This thread will discuss the type of changes that are needed, which
> packages are affected and how these bugs will be identified.
> The most common change is simply to retrieve the cross-building
> metadata from dpkg-architecture in debian/rules:
> http://wiki.debian.org/EmdebianGuide
> DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
> DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
> Depending on whether the package uses ./configure:
> else
> endif

Shouldn't packages be using these --build and --host arguments already
even if not cross-building ?
If they aren't there are possibilities of i686 binaries to be built for
what is supposed to be the i386 arch...


Reply to: