From owner-freebsd-arch Thu Aug 1 19:59:54 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FAC837B401 for ; Thu, 1 Aug 2002 19:59:51 -0700 (PDT) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id A157443E4A for ; Thu, 1 Aug 2002 19:59:50 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 2265 invoked from network); 2 Aug 2002 02:59:49 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 2 Aug 2002 02:59:49 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g722xmuR062546; Thu, 1 Aug 2002 22:59:48 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200208011533.56864.mi+mx@aldan.algebra.com> Date: Thu, 01 Aug 2002 22:59:50 -0400 (EDT) From: John Baldwin To: Mikhail Teterin Subject: Re: march/mcpu in bsd.cpu.mk Cc: arch@FreeBSD.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 01-Aug-2002 Mikhail Teterin wrote: > I think, it is fairly easy to make it support all things _CPU_CFLAGS may > try to contain in the future. Whatever is being added to the _CPU_CFLAGS > (mmx, sse) can first be checked for. I don't. I think that you don't just have to block -march=foo, you may need to block any number of other '-mfoo' options that are architecture specific and that that will end up being very ugly and hard to maintain. > = CPUTYPE is optional, and part of CPUTYPE are the NO_CPU_CFLAGS and > = NO_CPU_COPTFLAGS variables which are very clearly documented right > = beside CPUTYPE in /usr/share/examples/etc/make.conf as I have already > = pointed out to you. > > You have. And I responded to you, that /usr/share/examples/etc/make.conf > is fairly obscure, and that this flags are not (yet?) in make.conf(5) > and appeared long after the CFLAGS, which, on my machine, for example, > contained -march=pentiumpro for _years_. Funny that I don't have that response in my inbox. Anyways, CPUTYPE isn't documented in make.conf(5) at all and I suggested you do that. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message