Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 2010 21:43:35 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        =?UTF-8?B?QW5kcml1cyBNb3JrxatuYXM=?= <hinokind@gmail.com>
Cc:        Roman Divacky <rdivacky@freebsd.org>, current@freebsd.org
Subject:   Re: [INFO]: import of clang/LLVM to happen on June 9th
Message-ID:  <4C09D5F7.1050901@FreeBSD.org>
In-Reply-To: <4C099C93.8050709@FreeBSD.org>
References:  <20100604152605.GA80277@freebsd.org>	<4C0930E3.3030301@FreeBSD.org> <op.vdsd81uu43o42p@klevas>	<4C093D60.1010008@FreeBSD.org> <op.vdsf92ux43o42p@klevas> <4C099C93.8050709@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C09D5F7.1050901>