View previous topic :: View next topic |
Author |
Message |
-lego- n00b
Joined: 20 May 2010 Posts: 11
|
Posted: Thu May 20, 2010 11:39 am Post subject: Optimum CFLAGS for an Intel N450 processor? |
|
|
Hi,
I am new to gentoo. I have already installed gentoo on my laptop with success. I would like to learn a lot using gentoo, but there are plenty of things in which I am unclear. Here is my first question:
Recently I've purchased a netbook Asus Eee pc 1005 PE, which has an Intel N450 (Pine trail) 64-bit processor.
I've searched in forums, in google, in the whole internet but I still do not know which are the optimum cflags for this processor, specially the -march option. I have also looked at the processor datasheet but I do not know which are the optimum cflags.
It is -march=nocona, or -march=core2, or -march=?? ? And what about the other options (-msse3, etc..)?
If someone can post the make.conf file for that netbook, that would be great!
Any information or help would be much appreciated. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Jimini l33t
Joined: 31 Oct 2006 Posts: 601 Location: Germany
|
Posted: Thu May 20, 2010 12:59 pm Post subject: |
|
|
"i686" should be the correct arch. Just get the i686-stage3-tarball and everything should be fine.
Best regards,
Jimini _________________ "The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu) |
|
Back to top |
|
|
-lego- n00b
Joined: 20 May 2010 Posts: 11
|
Posted: Thu May 20, 2010 1:13 pm Post subject: |
|
|
Quote: | "i686" should be the correct arch. |
But since the N450 is 64-bit processor, wouldn't be better to take the "x86_64"?
Why do you say the "i686" is the correct arch for this processor, where did you get this info?
Thanks for the answers |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Thu May 20, 2010 1:40 pm Post subject: |
|
|
i686 or x86_64, choice is yours.
You can use -march=native
This will tell you what native will enable
Code: | gcc -Q --help=target -march=native |
|
|
Back to top |
|
|
-lego- n00b
Joined: 20 May 2010 Posts: 11
|
Posted: Thu May 20, 2010 2:45 pm Post subject: |
|
|
Jaglover wrote: | i686 or x86_64, choice is yours.
You can use -march=native
This will tell you what native will enable
Code: | gcc -Q --help=target -march=native |
|
Thank you very much, I will use x86_64 and -march=native.
Anyway, if in a future I change any option in the make.conf file, by emerging twice the whole system I should get a system compiled with the new options, isn't it? |
|
Back to top |
|
|
Jimini l33t
Joined: 31 Oct 2006 Posts: 601 Location: Germany
|
Posted: Thu May 20, 2010 3:01 pm Post subject: |
|
|
If you want to change your CHOST, take a look at this.
If you just want to edit your USE-flags, just use "emerge" with the "newuse"-parameter: emerge --newuse world or emerge -N world.
I'm not really sure what to do, if you have changed other options like "-march", but I guess, "emerge -e" should be the right way. But as I already said, I'm not sure.
Best regards,
Jimini _________________ "The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu) |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|