tag 531307 patch
thanks

Hi!

On Sun, 2009-06-21 at 01:21:03 +0200, Raphael Hertzog wrote:
> On Sun, 31 May 2009, Julien BLACHE wrote:
> > It may be necessary for one reason or another to determine in debian/rules
> > whether an architecture is 64bit or not.
> > 
> > There isn't really a good way to do that today, and dpkg-architecture seems
> > like the natural place to add this.
> > 
> > So, I think a new variable like DEB_ARCH_64BIT would be a nice and handy
> > thing to have.
> 
> More likely DEB_ARCH_BITS=64 so that it covers the future too. However
> this information doesn't exist currently.

Better yet DEB_HOST_ARCH_BITS. :)

> If we want to support that, we should add a new column to
> /usr/share/dpkg/cputable.
> 
> Guillem, what do you think about it?

Actually I had some discussion about exporting the wordsize and
endianness few months ago on #debian-dpkg with Hector Oron.

So I've done some preliminary coding, something like this could do,
after some cleanup:

  <http://git.hadrons.org/?p=debian/dpkg/dpkg.git;a=commitdiff;h=93b1eba1>

Thinking about it now, probably easier for people to spell
DEB_HOST_ARCH_ENDIAN rather than DEB_HOST_ARCH_ENDIANNESS, though.

regards,
guillem



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to