Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 06:30:33 +0200
From:      Schaich Alonso <alonsoschaich@fastmail.fm>
To:        freebsd-stable@freebsd.org
Subject:   Re: Clang as default compiler
Message-ID:  <201209120630.33981.alonsoschaich@fastmail.fm>
In-Reply-To: <CAPS9%2BSsCSsM2DPgdd=016yTf1tE6Y0d=7FV-h9NjXb_j3eET2Q@mail.gmail.com>
References:  <CAPS9%2BSsCSsM2DPgdd=016yTf1tE6Y0d=7FV-h9NjXb_j3eET2Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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