From owner-freebsd-amd64@FreeBSD.ORG Wed Sep 14 18:47:48 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org 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 72B2F16A41F for ; Wed, 14 Sep 2005 18:47:48 +0000 (GMT) (envelope-from ralph@zitz.dk) Received: from camilla.zitz.dk (ip30.ds1-od.adsl.cybercity.dk [217.157.208.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id C31BB43D46 for ; Wed, 14 Sep 2005 18:47:46 +0000 (GMT) (envelope-from ralph@zitz.dk) Received: from localhost (localhost.zitz.dk [127.0.0.1]) by camilla.zitz.dk (8.13.4/8.13.3) with ESMTP id j8EIlimL013244 for ; Wed, 14 Sep 2005 20:47:44 +0200 (CEST) (envelope-from ralph@zitz.dk) Received: from camilla.zitz.dk ([127.0.0.1]) by localhost (camilla.zitz.dk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 95824-07 for ; Wed, 14 Sep 2005 20:47:27 +0200 (CEST) Received: from [10.0.0.2] ([10.0.0.2]) (authenticated bits=0) by camilla.zitz.dk (8.13.4/8.13.3) with ESMTP id j8EIlPvm013237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Sep 2005 20:47:25 +0200 (CEST) (envelope-from ralph@zitz.dk) Message-ID: <4328703B.4020203@zitz.dk> Date: Wed, 14 Sep 2005 20:47:23 +0200 From: Ralph Zitz User-Agent: Thunderbird 1.6a1 (Windows/20050907) MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at zitz.dk Subject: Building world X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 18:47:48 -0000 Hello. I'm currently running FreeBSD 6.0/AMD64 beta4 on my dual xeon nocona system. In /etc/make.conf I have CPUTYPE=nocona. Every time I do a cvsup to "update world" I have to manually change /usr/src/Makefile.inc1 LIB32PREFLAGS= -m32 -march=athlon-xp ........ to LIB32PREFLAGS= -m32 -march=prescott ........ Obviously it makes sense to have it set to athlon-xp for the AMD64 arch, but since I'm running on Nocona it would be nice to have it look at what CPUTYPE is set to. I guess the question is: Would it be possible to add this check ? Regards, Ralph.