From owner-freebsd-current@FreeBSD.ORG Tue Mar 20 06:24:44 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59907106564A; Tue, 20 Mar 2012 06:24:44 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 977618FC08; Tue, 20 Mar 2012 06:24:43 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 6014E5DD0; Tue, 20 Mar 2012 06:24:37 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q2K6Obae069608; Tue, 20 Mar 2012 06:24:37 GMT (envelope-from phk@phk.freebsd.dk) To: Baptiste Daroussin From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 19 Mar 2012 22:58:02 +0100." <20120319215802.GC1692@azathoth.lan> Content-Type: text/plain; charset=ISO-8859-1 Date: Tue, 20 Mar 2012 06:24:37 +0000 Message-ID: <69607.1332224677@critter.freebsd.dk> Cc: current@FreeBSD.org Subject: Re: ABI/architecture identification for packages X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 06:24:44 -0000 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.