tag:blogger.com,1999:blog-2796911520352292695.post1996792755777161743..comments2023-11-03T13:53:59.204+05:30Comments on My experiments with Linux: Ubuntu Oneiric Kernel CompilationSankaranhttp://www.blogger.com/profile/05113731955405376903noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-2796911520352292695.post-76153497820832100562012-02-16T22:23:35.355+05:302012-02-16T22:23:35.355+05:30to use -mtune=nativeto use -mtune=nativeSankaranhttps://www.blogger.com/profile/05113731955405376903noreply@blogger.comtag:blogger.com,1999:blog-2796911520352292695.post-55377551403740532342012-02-16T05:28:27.936+05:302012-02-16T05:28:27.936+05:30is it better to have mtune=native or mtune=corei7 ...is it better to have mtune=native or mtune=corei7 or core=corei7-avx ?martinhttps://www.blogger.com/profile/13828135651673131193noreply@blogger.comtag:blogger.com,1999:blog-2796911520352292695.post-38150208588545589202011-12-06T06:08:18.267+05:302011-12-06T06:08:18.267+05:30Add this lines to your ~/.bashrc so that you will ...Add this lines to your ~/.bashrc so that you will never need to add any parameter any more. Every time you open the terminal you will have the 'One Time added' parameters:<br /><br />export CFLAGS="-march=core2 -Os -pipe"<br />export CXXFLAGS="${CFLAGS}"<br />export HOSTCC="gcc -march=core2 -mtune=native"<br />export HOSTCXX="g++ -march=core2 -mtune=Anonymousnoreply@blogger.com