From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 04:43:38 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC64D1065674 for ; Sat, 5 Jun 2010 04:43:38 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5A83A8FC26 for ; Sat, 5 Jun 2010 04:43:38 +0000 (UTC) Received: (qmail 25847 invoked by uid 399); 5 Jun 2010 04:43:37 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 5 Jun 2010 04:43:37 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C09D5F7.1050901@FreeBSD.org> Date: Fri, 04 Jun 2010 21:43:35 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: =?UTF-8?B?QW5kcml1cyBNb3JrxatuYXM=?= References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> <4C093D60.1010008@FreeBSD.org> <4C099C93.8050709@FreeBSD.org> In-Reply-To: <4C099C93.8050709@FreeBSD.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Roman Divacky , current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 04:43:38 -0000 On 06/04/10 17:38, Doug Barton wrote: > On 06/04/10 11:28, Andrius Morkūnas wrote: > >> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-ports-gcc.html Ok, everything in that section seems clear except this in 3.3: It is possible to completely replace CFLAGS and/or define custom CPUTYPE as well. We recommend setting CPUTYPE because many ports decide their optimizations flags based on this variable. How do I figure out what to set for CPUTYPE? Also, what else should I include in CFLAGS besides -mssse3? I have a core 2 duo processor, which says this at boot time: CPU: Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz (2330.23-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Family = 6 Model = f Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant Thanks! Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/