Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge default opts what i have to put please need help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
josei7
n00b
n00b


Joined: 07 Feb 2014
Posts: 22

PostPosted: Wed Feb 12, 2014 9:10 am    Post subject: emerge default opts what i have to put please need help Reply with quote

i have an asus rampage IV extreme with and i73960x extreme edition corei7-avx what i have to put in emerge default opts need help,it isnt in makeopts only in emerge_default_opts

Last edited by josei7 on Wed Feb 12, 2014 10:31 am; edited 1 time in total
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Wed Feb 12, 2014 9:47 am    Post subject: Reply with quote

Handbook points to the GCC manual, just read it to know.
http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/i386-and-x86-64-Options.html#i386-and-x86-64-Options
It looks like that, in your case, you should use ‘corei7-avx’
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Wed Feb 12, 2014 9:48 am    Post subject: Reply with quote

or "-march=native -mtune=native" which will enable all needed flags and optimizations, for ANY CPU.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Wed Feb 12, 2014 10:04 am    Post subject: Reply with quote

It really looks like setting to native is the best thing to do, I didn't know that
This thread made me learn something :D
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Feb 12, 2014 10:37 am    Post subject: Reply with quote

Be careful with using native if you are on less common hardware though, as it is not as ANY as people with less common hardware would like to; you'll have the chance to miss out on flags (not so bad though), on the other hand there is also the chance that you get a flag too much and end up with applications bailing out to bad instructions. For example, on some server hardware you need to pass along -mno-avx to undo -mavx to resolve this.
Back to top
View user's profile Send private message
josei7
n00b
n00b


Joined: 07 Feb 2014
Posts: 22

PostPosted: Wed Feb 12, 2014 10:41 am    Post subject: Reply with quote

i have installed gentoo with corei7-avx but i need to know only what to put in emerge_default_opts=
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Wed Feb 12, 2014 10:45 am    Post subject: Reply with quote

I found some stuff about it here https://www.gentoo.org/proj/en/portage/doc/faq.xml
I didn't change a single thing tho
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Feb 12, 2014 11:00 am    Post subject: Reply with quote

josei7 wrote:
i have installed gentoo with corei7-avx but i need to know only what to put in emerge_default_opts=


EMERGE_DEFAULT_OPTS appends parameters to every emerge command you type; you are fine with starting with nothing in it, but once you find yourself typing a parameter often you can add that parameter to the default options such that you don't need to type it that often (and when you don't want it, you can pass the inverse parameter in that occasion). See `man emerge` for a list of parameters. See `man make.conf` for descriptions of the variables in make.conf.
Back to top
View user's profile Send private message
josei7
n00b
n00b


Joined: 07 Feb 2014
Posts: 22

PostPosted: Wed Feb 12, 2014 11:04 am    Post subject: Reply with quote

thanks for all the answers. You have clarified all my doubts. thanks again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum