From owner-freebsd-amd64@FreeBSD.ORG Tue Jan 18 07:36:37 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA82916A4CE; Tue, 18 Jan 2005 07:36:37 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 870D343D41; Tue, 18 Jan 2005 07:36:36 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) j0I7aYHo013132 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 18 Jan 2005 08:36:34 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost)j0I7aY2X013131; Tue, 18 Jan 2005 08:36:34 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.apsfilter.org (8.13.1/8.13.1) with ESMTP id j0I7aDL0010643; Tue, 18 Jan 2005 08:36:14 +0100 (CET) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.13.1/8.13.1/Submit) id j0I7aDeJ010642; Tue, 18 Jan 2005 08:36:13 +0100 (CET) (envelope-from andreas) Date: Tue, 18 Jan 2005 08:36:13 +0100 From: Andreas Klemm To: John Baldwin Message-ID: <20050118073612.GA10427@titan.klemm.apsfilter.org> References: <20050117203818.GA29131@dragon.nuxi.com> <200501172146.17965.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501172146.17965.jhb@FreeBSD.org> X-Operating-System: FreeBSD 5.3-STABLE X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.6i cc: freebsd-amd64@freebsd.org Subject: Re: [RFC] what to name linux 32-bit compat X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 07:36:37 -0000 On Mon, Jan 17, 2005 at 09:46:17PM -0500, John Baldwin wrote: > > Personally, I think /compat/linux32 and /compat/linux (for linux64) would be > the best way to go. The idea being that /compat/linux runs native binaries > on any given arch, and if there's more than one arch supported, the > non-native ones get the funky names. Am not 100% sure but it might be a win to re-think this for port builders/designers. It might be beneficial not to use such "implicit" rules for naming like your suggestion for taking /compat/linux as native arch. I would perhaps name /compat/linux32 and /compat/linux64 explicitely, which might be a win and is IMHO not too expensive. Uname should IMHO get a new switch to print out default architecture of being 32 or 64 bit. So together with uname and the above naming scheme you have all you need and is compareable to what we already have (concerning uname) for cpu architecture. Do perhaps other BSD teams have added an mechanism like that or do they get 32/4 bit out of /proc ? Best regards Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.1-CURRENT Need a magic printfilter today ? -> http://www.apsfilter.org/