From owner-freebsd-stable@FreeBSD.ORG Wed Sep 12 04:31:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3255A106566B for ; Wed, 12 Sep 2012 04:31:32 +0000 (UTC) (envelope-from alonsoschaich@fastmail.fm) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id E7B588FC17 for ; Wed, 12 Sep 2012 04:31:31 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id CA5CC21183 for ; Wed, 12 Sep 2012 00:31:25 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 12 Sep 2012 00:31:25 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; s=mesmtp; bh=FSOzHTPi4XJog1BYgAE4IJMbLcA=; b=bCTB9JwKzl8R+vFGVc/kMZPYoo3u lzqiK+yGG59if2Ra8UmWHEMw8c0oD3hKWrYY5sFNQGzfVSph38lYpbDDcr09rGQb x4f5DQvdfQFQpzODGv+8oqVkIyDsq5etm1slsdn1lEhA5DM5T4NUJ5g/1LKWNo9y UCy7SIXTxdwyGho= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; s=smtpout; bh=FSOzHTPi4XJog1BYgAE4IJMbLcA=; b=EIshS Sr7QeZdvd338cRCd4bOV3Q4fr4saVXKuMAt4Hej2hRkWMA+OIKDErOeGNxy7+Ich VsXbEQD09AuuQGDP5caJGj+FkPk3iSN7bQjBkStFAwkBVY9pHqhIZANbxMITKJIx hdN0X8jeO0hCa1djmf6R55sG/9392nUT1LqRw8= X-Sasl-enc: B3cysv970zkzqK9ujOeo0+mhJ6njwLGiUdHYdtEh8VxZ 1347424285 Received: from harmony.localnet.edu (unknown [217.84.49.43]) by mail.messagingengine.com (Postfix) with ESMTPA id 739AB4827A9 for ; Wed, 12 Sep 2012 00:31:25 -0400 (EDT) From: Schaich Alonso To: freebsd-stable@freebsd.org Date: Wed, 12 Sep 2012 06:30:33 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201209120630.33981.alonsoschaich@fastmail.fm> Subject: Re: Clang as default compiler X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2012 04:31:32 -0000 On 2012-09-11 (Tuesday) 23:49:24 Andreas Nilsson wrote: > Today I decided to take the plunge and make clang the default compiler, ie > I set > > WITH_CLANG=yes > WITH_CLANG_IS_CC=yes > WITH_CLANG_EXTRAS=yes > > in src.conf. No problem so far. However I wanted to avoid building base gcc > ( the whole collection ). Is WITHOUT_GCC what I'm looking for? > It probably is. However, WITHOUT_GCC is not supported yet. > On another clang note: Is there a page specifying valid settings for > -march, my google-foo is failing me. Ie, I'm looking for the equivalent of > http://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/i386-and-x86_002d64-Options.htm > l#i386-and-x86_002d64-Options > Take a look at lines 120 and below of contrib/llvm/lib/Target/X86/X86.td in the FreeBSD source directory for supported march switches.