Hello everybody!
I have a question about variable CPUTYPE in make.conf. I want to build kernel, world and all software with the following settings:
I know that GCC which is used in FreeBSD is 4.2.1 and this is a very old version which doesn't support -mssse3, -msse4.2. But, I have noticed something that all software including kernel and world don't use -march=core2 only -msse3. What is the problem? Should I use it to get the desired result?
Then why we need to set CPUTYPE if it's useless?
I have a question about variable CPUTYPE in make.conf. I want to build kernel, world and all software with the following settings:
Code:
CPUTYPE?=core2
NO_CPU_CFLAGS=false
NO_CPU_COPTFLAGS=false
CFLAGS+= -msse3
CXXFLAGS+= -msse3
NO_PROFILE=true
I know that GCC which is used in FreeBSD is 4.2.1 and this is a very old version which doesn't support -mssse3, -msse4.2. But, I have noticed something that all software including kernel and world don't use -march=core2 only -msse3. What is the problem? Should I use it to get the desired result?
Code:
CPUTYPE?=core2
NO_CPU_CFLAGS=true
NO_CPU_COPTFLAGS=true
CFLAGS+= -march=core2 -msse3
CXXFLAGS+= -march=core2 -msse3
NO_PROFILE=true
Then why we need to set CPUTYPE if it's useless?