1 |
JimD posted <20060326113037.63d2f7f3@××××××.localdomain>, excerpted below, |
2 |
on Sun, 26 Mar 2006 11:30:37 -0500: |
3 |
|
4 |
> What does (-multilib) mean? I tried to unmask it but I cannot figure out |
5 |
> how to get multilib turned on. |
6 |
> |
7 |
> P.S. I have also seen the (-FOO) syntax before and cannot figure out how |
8 |
> to enable a USE option that is in that format. |
9 |
|
10 |
I see SS's pointing to the FAQ, and that's correct, but I read the blurb |
11 |
in the FAQ and don't find it worded as clearly as it could be. |
12 |
|
13 |
In general, a USE flag in parenthesis, as (-multilib), indicates that USE |
14 |
flag is set by the profile and can't be changed. (Well, it could be, but |
15 |
you better be very sure you know what you are doing, and as with many |
16 |
things in life, if you are asking, you don't.) |
17 |
|
18 |
Why would this be? Simple. The regular amd64 profiles require multilib, |
19 |
altho there are subprofiles available that have it disabled, if you |
20 |
prefer. Thus, it's part of the profile, enabled or disabled by the |
21 |
profile you use, and not settable separately. (This is a fairly new |
22 |
situation. Old 2004 profiles had it as a settable USE flag, which is why |
23 |
it still exists as a USE flag, even if it can't be set as such.) |
24 |
|
25 |
Similarly with some other flags, including mmx, sse, etc. All amd64 based |
26 |
processors, both those from AMD and those from Intel, include these |
27 |
extensions, so gcc knows they can be used already, and the flags need not |
28 |
be specified. Additionally, as the flags were developed on 32-bit |
29 |
processors, they often invoke the 32-bit specific assembly language |
30 |
extensions. Trying to use these 32-bit specific extensions in a 64-bit |
31 |
program is a sure way to failure, so all around, it's simply better to |
32 |
force the USE flags off for 64-bit mode. Again, gcc already knows it can |
33 |
use the 64-bit versions, and the USE flags apply the 32-bit versions |
34 |
which will break stuff in 64-bit mode, so leave them off, and nobody gets |
35 |
hurt. <g> Do note, however, that if you use a 32-bit chroot, you can |
36 |
safely use those flags there, and they'll work as intended, because the |
37 |
chroot will be using a 32-bit profile, not the usual 64-bit profile. |
38 |
|
39 |
Perhaps this is clearer than the way the FAQ says it? |
40 |
|
41 |
-- |
42 |
Duncan - List replies preferred. No HTML msgs. |
43 |
"Every nonfree program has a lord, a master -- |
44 |
and if you use the program, he is your master." Richard Stallman in |
45 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
46 |
|
47 |
|
48 |
-- |
49 |
gentoo-amd64@g.o mailing list |