From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 11 12:47:42 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC3D916A4CE for ; Fri, 11 Feb 2005 12:47:42 +0000 (GMT) Received: from smtpq3.home.nl (smtpq3.home.nl [213.51.128.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E70443D54 for ; Fri, 11 Feb 2005 12:47:42 +0000 (GMT) (envelope-from dodell@sitetronics.com) Received: from [213.51.128.133] (port=37072 helo=smtp2.home.nl) by smtpq3.home.nl with esmtp (Exim 4.30) id 1CzaCz-0001LJ-6l; Fri, 11 Feb 2005 13:47:41 +0100 Received: from cc740438-a.deven1.ov.home.nl ([82.72.18.239]:33705 helo=192.168.1.104) by smtp2.home.nl with esmtp (Exim 4.30) id 1CzaCx-0005T7-J8; Fri, 11 Feb 2005 13:47:39 +0100 From: "Devon H. O'Dell" To: Robert Millan In-Reply-To: <20050211122554.GB27691@khazad.dyndns.org> References: <200502110840.j1B8eIUq074988@freefall.freebsd.org> <1108117105.4084.20.camel@localhost.localdomain> <20050211122554.GB27691@khazad.dyndns.org> Content-Type: text/plain Organization: SiteTronics Date: Fri, 11 Feb 2005 13:47:38 +0100 Message-Id: <1108126058.4084.39.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/77355: Detect i*86 subarches for uname X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 12:47:42 -0000 On Fri, 2005-02-11 at 13:25 +0100, Robert Millan wrote: > On Fri, Feb 11, 2005 at 11:18:25AM +0100, Devon H. O'Dell wrote: > > > > > > With this change, the config.guess triplet becomes i686-unknown-freebsd5.3 > > > (or whatever suitable). Some programs detect this and use it for optimisation. > > > > The proper way to specify optimizations in FreeBSD is with relevant > > entries in /etc/make.conf. > > But this only affects the port system when passing --host and --build to > configure scripts, right? > > I'm more concerned about programs that run config.guess on their own. Actually, make.conf is used to modify various flags used in the files in /usr/share/mk and /usr/ports/Mk. Nothing would be passed to --host and --build; the Makefile would use the desired CFLAGS when building, which might include -march=whatever. Since FreeBSD encourages the use of its ports collection (and other package systems such as pkgsrc use similar tricks to do this), I really don't see this as an issue. Perhaps the only thing I see this useful for is if you don't particularly care to use any package system, which isn't really good for the project since we don't get to benefit from the software you're using. It's farily simple to wrap any software into a port file, regardless of what utilities you are using. --Devon