Clang as default compiler

Volodymyr Kostyrko c.kworr at gmail.com
Wed Sep 12 11:25:55 UTC 2012


12.09.2012 00:49, Andreas Nilsson wrote:
> 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.html#i386-and-x86_002d64-Options

I'm using the minimum of:

    : | gcc -E -v -march=native -
    : | clang -E -v -march=native -

because there are number of ports that still doesn't compile with clang 
or GCC4.6.

> After successful install I went on to upgrade some ports. Is there a specif
> PR to use for ports that fails with clang and does not specify to use gcc (
> devel/cdecl and deskutils/calibre so were the culprits so far)

It's up to you to fix this ports and submit patches. You can always 
rollback to using GCC.

-- 
Sphinx of black quartz judge my vow.


More information about the freebsd-stable mailing list