1 |
Wybaczcie że pytam ale słabo znam angielski a chciałem w końcu |
2 |
usystematyzować więdze, w make.conf jest wytłumaczenie następujące: |
3 |
|
4 |
|
5 |
# -mcpu=<cpu-type> means optimize code for the particular type of CPU |
6 |
without |
7 |
# breaking compatibility with other CPUs. |
8 |
# -march=<cpu-type> means to take full advantage of the ABI and |
9 |
instructions |
10 |
# for the particular CPU; this will break compatibility with older CPUs |
11 |
(for |
12 |
# example, -march=athlon-xp code will not run on a regular Athlon, and |
13 |
# -march=i686 code will not run on a Pentium Classic. |
14 |
|
15 |
Czyli rozumiem że np: |
16 |
|
17 |
CFLAGS="-mcpu=athlon-xp -O3 -pipe" |
18 |
optymalizuje pod athlon-xp i ale bedzie też działać pod innymi |
19 |
procesorami z rodziny athlon. |
20 |
|
21 |
CFLAGS="-march=athlon-xp -O3 -pipe" |
22 |
optymalizuje pod konkretny typ procesora i jest to teoretycznie |
23 |
najlepsze rozwiazanie. |
24 |
|
25 |
Czy dobrze zrozumiałem i czy dużo i co konkretnie da mi zamienienie |
26 |
<mcpu> na <march>? |
27 |
|
28 |
Moze ktoś napisać dwa zdanka na temat opcji "-03 -pipe " ? |
29 |
|
30 |
|
31 |
|
32 |
-- |
33 |
gentoo-user-pl@g.o mailing list |