View Single Post
Old 1st September 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Quote:
Originally Posted by troberts View Post
What does the CPUTYPE do then? My thinking is by letting the compiler know what CPU is being used, then it can compile features (i.e. MMX, SSE3, SSE4) the CPU can use and/or not compile features the CPU cannot use .
CPUTYPE sets a bunch of gcc options according to what features the CPU supports. Thing like -sse, -sse2, -mmx, -mcpu, -march, -3dnow and so forth. It's a handy shorthand variable that tells the compiler which CPU features your CPU supports.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote