From owner-freebsd-current Wed Jan 29 21:11:41 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95E5D37B401 for ; Wed, 29 Jan 2003 21:11:39 -0800 (PST) Received: from mail.jeamland.net (rafe.jeamland.net [203.18.243.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1AD243F79 for ; Wed, 29 Jan 2003 21:11:38 -0800 (PST) (envelope-from benno@FreeBSD.org) Received: from [192.168.9.198] (rtr1.snc.schools.net.au [203.31.232.2]) by mail.jeamland.net (Postfix) with ESMTP id B61927060A for ; Thu, 30 Jan 2003 16:11:36 +1100 (EST) Subject: Re: Patch to teach config(8) about "platforms". From: Benno Rice To: current@FreeBSD.org In-Reply-To: <20030130045740.GC5754@dragon.nuxi.com> References: <20030128182013.A13422@FreeBSD.org> <20030129025124.GG1016@athlon.pn.xcllnt.net> <20030128190158.A15778@FreeBSD.org> <20030129044548.GI1016@athlon.pn.xcllnt.net> <20030128205737.A22274@FreeBSD.org> <20030129051853.GJ1016@athlon.pn.xcllnt.net> <1043819769.648.52.camel@localhost> <20030129062558.GB1715@athlon.pn.xcllnt.net> <1043821970.648.60.camel@localhost> <20030129074647.GD1715@athlon.pn.xcllnt.net> <20030130045740.GC5754@dragon.nuxi.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-di+70QNArjIPSFh4OZRm" Organization: Message-Id: <1043903342.613.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 30 Jan 2003 16:10:21 +1100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-di+70QNArjIPSFh4OZRm Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-01-30 at 15:57, David O'Brien wrote: > On Tue, Jan 28, 2003 at 11:46:47PM -0800, Marcel Moolenaar wrote: > > I would not introduce a , but rather > > . The reason for this is that the > > /usr/include/platform directory is only needed on powerpc and mips, > > which seems to indicate that it should be under . Also, > > the use of machine/${variant} allows us to install the headers for > > all variants, which may improve cross-building. >=20 > This is a very nice way of adding the complexity when it is needed, but > not getting in the way of those cases where it isn't needed. Except that it requires us to know which platform variant directory to use in each case. If this directory is then copied or symlinked to /usr/include/platform or /usr/include/machine/platform, I don't object but otherwise it'll lead to an ifdef nightmare in the machine includes. --=20 Benno Rice --=-di+70QNArjIPSFh4OZRm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+OLNuXjRwWofFmQkRAuIfAKCDMWTadE6yWCDpbjJRBvChfnA4mwCfSK6m 7XWNNZP+uTjjeIz+0KZFTUk= =u1M1 -----END PGP SIGNATURE----- --=-di+70QNArjIPSFh4OZRm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message