Changes

Jump to: navigation, search

Installation (Tutorial)

267 bytes added, 4 years ago
CFLAGS: - add clarification and link - danielv
CFLAGS="-march=native -O2 -pipe"
</pre>
 
If you want to specifically use the parameter for your processor exclusively (Core2 in this case, see http://www.funtoo.org/Core2_64), you could use...
<pre>
CFLAGS="-march=core2 -O2 -pipe"
</pre>
See https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html#x86-Options
 
Since [http://gcc.gnu.org/gcc-4.2/changes.html gcc-4.2], -mtune=native and -march=native will produce code optimized for the host processor. -mtune=native has no effect if GCC does not recognize the processor. More information can be found in the [http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options GCC online docs].
wiki-users
68
edits

Navigation menu