[INFO]: import of clang/LLVM to happen on June 9th
Doug Barton
dougb at FreeBSD.org
Sat Jun 5 18:43:47 UTC 2010
On 06/04/10 23:10, Anonymous wrote:
> Most ports decide features based on MACHINE_CPU not CPUTYPE. However,
> MACHINE_CPU doesn't support non-base compiler and `native' CPUTYPE. Plus
> core2 CPUTYPE is silently degraded to nocona/prescott even when it's
> supported by underlying compiler. See conf/112997.
>
> IIRC, on gcc44+ -march=native automatically enables -msse[1234].
> But if you don't want to use CPUTYPE=native then add cc1 flags to
> CFLAGS, e.g.
Ok, CPUTYPE=native seems to be doing the trick, thanks!
BTW, the suggestion in the web page (CFLAGS+=-mssse3) gives an "unknown
option" error. Perhaps it would be better to add CPUTYPE=native to the
defaults in section 3.1, and use a different example in 3.3?
Doug
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-ports-gcc.html
--
... 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/
More information about the freebsd-current
mailing list