Date: Sun, 28 Feb 2010 20:38:45 +0800 From: Aaron Lewis <aaron.lewis1989@gmail.com> To: freebsd-questions@freebsd.org Subject: Compiler Flags problem with core2 CPU Message-ID: <4B8A63D5.90104@gmail.com>
index | next in thread | raw e-mail
Hi,
I gonna recompile kernel for my core2 CPU , so i'd like to pass some
flags to gcc.
Kinds of "-march=core2" , i tried to modify /etc/make.conf
e.g CFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse
But it fails .. bad arch switch , core2 cpu is not supported ?
And is that useful to let gcc select cpu specified asm code ?
--
Best Regards,
Aaron Lewis - PGP: 0xA476D2E9
irc: A4r0n on freenode
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B8A63D5.90104>
