Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2012 06:24:37 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: ABI/architecture identification for packages
Message-ID:  <69607.1332224677@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 19 Mar 2012 22:58:02 %2B0100." <20120319215802.GC1692@azathoth.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20120319215802.GC1692@azathoth.lan>, Baptiste Daroussin writes:

>On Mon, Mar 19, 2012 at 10:35:08PM +0100, Baptiste Daroussin wrote:
>> Hi all,
>> 
>> In order to identify architectures I need to find a uniq id for every
>> possibilities (for pkgng)
>> 
>> here is the identification I propose:
>> 
>> arch-class-os-majorversion(-archi_specific_extension)

Given how sparse this name-space is, you'll have less than 50
different values, you might want to consider something more compact,
such as a single letter for all components, and the version number last:

X2F9 	= x64-32-freebsd-9
X4F10	= x64-64-freebsd-10
A2FB9	= arm-32-freebsd-eb_oabi-9

By the time we run out of ASCII or even Unicode characters, we have
other problems.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69607.1332224677>