1 |
On Thu, Jan 21, 2010 at 7:05 PM, Lie Ryan <lie.1296@×××××.com> wrote: |
2 |
> On 01/22/10 11:44, Mark Knecht wrote: |
3 |
>> I'm just installing Gentoo on my first new machine in years. Can |
4 |
>> anyone suggest which of the CPU flags below might best be added to |
5 |
>> make.conf? The machine will be a standard desktop running rt-sources |
6 |
>> and stable Gentoo. |
7 |
>> |
8 |
>> This processor is 2 physical cores with hyperthreading enabled in each core. |
9 |
>> |
10 |
>> Currently make.conf has only the standard stuff other than me adding |
11 |
>> the MAKEOPTS line: |
12 |
>> |
13 |
>> # These settings were set by the catalyst build script that automatically |
14 |
>> # built this stage. |
15 |
>> # Please consult /usr/share/portage/config/make.conf.example for a more |
16 |
>> # detailed example. |
17 |
>>q CFLAGS="-O2 -pipe" |
18 |
>> CXXFLAGS="-O2 -pipe" |
19 |
> |
20 |
> You might want to add "-march=" flag to CFLAGS and CXXFLAGS. See |
21 |
> http://en.gentoo-wiki.com/wiki/Safe_Cflags |
22 |
> |
23 |
>> # WARNING: Changing your CHOST is not something that should be done lightly. |
24 |
>> # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. |
25 |
>> CHOST="x86_64-pc-linux-gnu" |
26 |
> |
27 |
> As the warning said, there is nearly no good reason to change CHOST. |
28 |
> |
29 |
>> # These are the USE flags that were used in addition to what is provided by the |
30 |
>> # profile used for building. |
31 |
>> USE="mmx sse sse2" |
32 |
> |
33 |
> No one size fits all, only you can decide the best USE flags combination |
34 |
> for your use. You probably wouldn't know the USE flags to use until you |
35 |
> emerged some programs. Before emerging, look at the USE flags and decide |
36 |
> whether you will need the feature activated by the flag, and whether you |
37 |
> want to activate the USE flags globally (add here) or locally for the |
38 |
> specific package (in /etc/portage/package.use). |
39 |
> |
40 |
> You may want to look at /usr/portage/profiles/use.desc |
41 |
> |
42 |
>> MAKEOPTS="-j5" |
43 |
> |
44 |
> |
45 |
> |
46 |
> You might want to add your SYNC and GENTOO_MIRRORS options. Use the |
47 |
> mirrorselect program to choose the server to use. |
48 |
> |
49 |
> If you're going to use GUI with X, you might want to add VIDEO_CARDS and |
50 |
> INPUT_DEVICES variable. Add the graphic and input driver you're using there. |
51 |
> |
52 |
> Most emerges takes a long time; you most likely want to make portage a |
53 |
> low priority process so they does not disturb your daily work. Use |
54 |
> PORTAGE_NICENESS and PORTAGE_IONICE_COMMAND variable. |
55 |
> |
56 |
> The FEATURES variable can set some useful optional portage features. |
57 |
> Look at "man make.conf" for valid options. Some options can speed up |
58 |
> compiling, others may increase security. Some of the most useful FEATURES: |
59 |
> - ccache: you'll need to emerge dev-utils/ccache and tune the CCACHE_SIZE |
60 |
> - parallel-fetch: the name describes best |
61 |
> - test: runs "make check" for packages that have them and fail the |
62 |
> install when the test don't pass. Be aware that quite a lot of package |
63 |
> is shipped with failed tests. You may want to add "--keep-going" when |
64 |
> emerging a large number of packages. |
65 |
> - userfetch, usersandbox, usersync: these may add a little bit of security. |
66 |
> |
67 |
> See "man make.conf" for more options |
68 |
> |
69 |
|
70 |
Thanks Lie - I've run Gentoo for a long time and understand the |
71 |
process, but I'm not a programmer and always feel that the CPU |
72 |
oriented use flags are somewhat obscure. |
73 |
|
74 |
Anyway, right now that's not my problem. This must be my 20th install |
75 |
following the install guide but this time on this machine I am unable |
76 |
to boot anything. Once again grub has bit me and it's acting like it's |
77 |
blown away even windows, but I'm also not getting my grub.conf menu so |
78 |
I don't know what's going on. |
79 |
|
80 |
10 years and no one in the group has managed to make a fool proof |
81 |
install. Necessary for us fools... |
82 |
|
83 |
I'll try again tomorrow. |
84 |
|
85 |
cheers, |
86 |
Mark |