On Wed, Oct 22, 2014 at 05:00:15AM +0200, Jerome BENOIT wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> Given that we can grab the BUILD GAP architecture as follows, in d/rules:

Hello Jérome,

> CGAP = /usr/bin/gap
> DEB_BUILD_GAP_INFO_ARCH ?= $(shell echo 'Print(GAPInfo.Architecture);' | 
> $(CGAP) -A -q -T)

(I would suggest rather to read the file /usr/lib/gap/sysinfo.gap instead of
launching GAP.)

> I have a naive question:
> is there a simple way to get the HOST (not the BUILD) GAP architecture ?

I am unsure why you call GAPInfo.Architecture the BUILD GAP architecture.
According to dpkg-architecture(1):

       build machine
           The machine the package is built on.

       host machine
           The machine the package is built for.

GAPInfo.Architecture is set at compile time to the architecture the package is
built for.

Cheers,
-- 
Bill. <ballo...@debian.org>

Imagine a large red swirl here. 


-- 
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