Re: [INFO]: import of clang/LLVM to happen on June 9th

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Sat, 05 Jun 2010 11:43:44 -0700
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/
Received on Sat Jun 05 2010 - 16:43:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC