Re: Using "march=native" in "/etc/make.conf"

2010-02-23 Thread Ivan Voras

On 02/23/10 13:21, RW wrote:

On Tue, 23 Feb 2010 06:41:04 -0500
Carmel  wrote:


I just acquired an older Gateway GT5220 with an AMD 62 Athlon-x2
dual processor. I want to set it up as a sort of test machine. There
does not seem to be a specific setting for 'cpu-type' or 'march' for
this machine. I have notices on some Linux forums that they recommend
using the 'native' keyword; i.e., "march=native" in the 'make.conf'
file to get the most optimization out of the CPU. Would that be
correct for FreeBSD also? Would it also be appropriate for other CPUs
as well?


FreeBSD sets "march" and other default settings based on CPUTYPE. It's
probably better to set that.


Yes but the old version of gcc in FreeBSD (4.2) is lacking support for 
modern CPUs. Using march=native is fine.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using "march=native" in "/etc/make.conf"

2010-02-23 Thread RW
On Tue, 23 Feb 2010 06:41:04 -0500
Carmel  wrote:

> I just acquired an older Gateway GT5220 with an AMD 62 Athlon-x2
> dual processor. I want to set it up as a sort of test machine. There
> does not seem to be a specific setting for 'cpu-type' or 'march' for
> this machine. I have notices on some Linux forums that they recommend
> using the 'native' keyword; i.e., "march=native" in the 'make.conf'
> file to get the most optimization out of the CPU. Would that be
> correct for FreeBSD also? Would it also be appropriate for other CPUs
> as well?

FreeBSD sets "march" and other default settings based on CPUTYPE. It's
probably better to set that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Using "march=native" in "/etc/make.conf"

2010-02-23 Thread Carmel
I just acquired an older Gateway GT5220 with an AMD 62 Athlon-x2
dual processor. I want to set it up as a sort of test machine. There
does not seem to be a specific setting for 'cpu-type' or 'march' for
this machine. I have notices on some Linux forums that they recommend
using the 'native' keyword; i.e., "march=native" in the 'make.conf'
file to get the most optimization out of the CPU. Would that be correct
for FreeBSD also? Would it also be appropriate for other CPUs as well?

Thanks :-)

--
Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

The hardest thing in the world to understand is the income tax.


Albert Einstein

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"