From owner-freebsd-hackers@FreeBSD.ORG Sat May 26 21:41:57 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46AC616A41F for ; Sat, 26 May 2007 21:41:57 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 235E813C43E for ; Sat, 26 May 2007 21:41:57 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4QLfuxd006754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 26 May 2007 14:41:56 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4QLftnw031931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 26 May 2007 14:41:56 -0700 Message-ID: <4658A9CD.2040607@u.washington.edu> Date: Sat, 26 May 2007 14:42:37 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: dmw@unete.cl References: <200705261242.58950.dmw@unete.cl> <319cceca0705260959s24574b11u5947fec0ff1a8577@mail.gmail.com> <319cceca0705261014s5bde07e1p770aabb6301a6b7f@mail.gmail.com> <200705261343.30607.dmw@unete.cl> In-Reply-To: <200705261343.30607.dmw@unete.cl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.26.141834 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-hackers@freebsd.org, Maslan Subject: Re: Problems compiling BUILDING from STABLE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 21:41:57 -0000 Daniel Molina Wegener wrote: > On Saturday 26 May 2007 13:14:52 Maslan wrote: >>> Have u missed with the CFLAGS ? >> Sorry, i mean "messed up" > > Sorry, I can't understand... what's wrong with my CFLAGS. > These flags works for STABLE -- in my make.conf: > > --------------------------------8<------------------------- > LOCLACFLAGS=-march=prescott -O2 -pipe > CFLAGS=$(LOCLACFLAGS) > COPTFLAGS=$(LOCLACFLAGS) > CXXFLAGS+=$(LOCLACFLAGS) > CXXOPTFLAGS+=$(LOCLACFLAGS) > --------------------------------8<------------------------- > > Why shouln't work for CURRENT? > > All the other CFLAGS are added because the targets are using > the level 6 of warnings in sys/mk/bsd.sys.mk > >> >> --- >> OS Developer >> I'm Searching For Perfection, >> So Even If U Need Portability U've To Use Assembly ;-) >> --- >> http://libosdk.berlios.de >> [SNIP] > > Regards, Set CPUTYPE to prescott. You don't need to pass it in as -march, like the manpage for gcc says. Only pass it in as -march=prescott if you're compiling your own program outside of make/gmake. -Garrett