AMD II x2 245 and gcc optimization ?

Hello,

Why can't we set a correct gcc optimization in make.conf ?
We can see full listing on http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html but some keywords are not compatible.
For example, the AMD II x2 245 supports MMX, 3DNow!, SSE, SSE2, SSE3, SSE4a, ABM, AMD64, AMD-V, EVM, so I should use "amdfam10/barcelona" but i can't, when I try to compile, It says "configure: error: C compiler cannot create executables"
 
>Why can't we set a correct gcc optimization in make.conf ?

Why? Because your compiler doesn't support it? Why shouldn't you do it? Because you gain less to none performance, but lots of compatibility issues. Next time you have a problem, whether it's in Linux or FreeBSD, everbody will tell you the following: does this problem persist without optimization?
 
oliverh said:
Because you gain less to none performance

It was true few years ago, but anymore now.
Concerning the compatibility, I know and I take the risk.
 
All the values that you can put into /etc/make.conf for CPUTYPE are listed in /usr/share/examples/etc/make.conf.

Don't try to circumvent the system, as bad things will happen. :)
 
Don't try to circumvent the system, as bad things will happen.
In real life, system (as a general concept) is circumvented all the time, and bad things happen all the time, too. Why FreeBSD should be an exception? :beergrin
 
Back
Top