Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: archs/amd64/
Date: Wed, 22 Dec 2021 15:27:43
Message-Id: 1640184677.0c7a9194274fd3248bee89b59268f1ad975b2db1.ulm@gentoo
1 commit: 0c7a9194274fd3248bee89b59268f1ad975b2db1
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 12 19:10:44 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 22 14:51:17 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=0c7a9194
7
8 archs/amd64: Update information on profiles
9
10 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
11
12 archs/amd64/text.xml | 158 +++++++++++++--------------------------------------
13 1 file changed, 40 insertions(+), 118 deletions(-)
14
15 diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml
16 index b2acc1a..cbfe8df 100644
17 --- a/archs/amd64/text.xml
18 +++ b/archs/amd64/text.xml
19 @@ -143,141 +143,66 @@ variable and <c><uri link="::eclass-reference/multilib.eclass/"/></c>).
20 </subsection>
21
22 <subsection>
23 -<title><c>Libdir</c> Links</title>
24 +<title>Libdir links</title>
25 <body>
26
27 <p>
28 -Currently, we provide several profiles, each with its own combination of <c>libdir</c>
29 -configurations.
30 +Currently, we provide several profiles, each with its own combination of
31 +<c>libdir</c> configurations. Table entries x86, amd64, etc. indicate that
32 +the directory contains objects for this ABI; entries with an arrow indicate
33 +a symlink to the respective directory.
34 </p>
35
36 <table>
37 <tr>
38 - <th>
39 - Profile
40 - </th>
41 - <th>
42 - lib32
43 - </th>
44 - <th>
45 - lib
46 - </th>
47 - <th>
48 - lib64
49 - </th>
50 - </tr>
51 - <tr>
52 - <ti>
53 - 2004.3
54 - </ti>
55 - <ti>
56 - *l-&gt;emul*
57 - </ti>
58 - <ti>
59 - d64
60 - </ti>
61 - <ti>
62 - *l-&gt;lib*
63 - </ti>
64 + <th>Profile</th>
65 + <th>lib</th>
66 + <th>lib32</th>
67 + <th>lib64</th>
68 + <th>libx32</th>
69 </tr>
70 <tr>
71 - <ti>
72 - 2004.3/lib64
73 - </ti>
74 - <ti>
75 - *l-&gt;emul*
76 - </ti>
77 - <ti>
78 - *l-&gt;64*
79 - </ti>
80 - <ti>
81 - d64
82 - </ti>
83 + <ti>17.0</ti>
84 + <ti>-&gt; lib64</ti>
85 + <ti>x86</ti>
86 + <ti>amd64</ti>
87 + <ti>non-existent</ti>
88 </tr>
89 <tr>
90 - <ti>
91 - &gt;=2005.0
92 - </ti>
93 - <ti>
94 - d32
95 - </ti>
96 - <ti>
97 - *l-&gt;64*
98 - </ti>
99 - <ti>
100 - d64
101 - </ti>
102 + <ti>17.0/no-multilib</ti>
103 + <ti>-&gt; lib64</ti>
104 + <ti>non-existent</ti>
105 + <ti>amd64</ti>
106 + <ti>non-existent</ti>
107 </tr>
108 <tr>
109 - <ti>
110 - &gt;=2005.0/no-multilib
111 - </ti>
112 - <ti>
113 - d32
114 - </ti>
115 - <ti>
116 - *l-&gt;64*
117 - </ti>
118 - <ti>
119 - d64
120 - </ti>
121 + <ti>17.0/x32</ti>
122 + <ti>-&gt; libx32</ti>
123 + <ti>x86</ti>
124 + <ti>amd64</ti>
125 + <ti>x32</ti>
126 </tr>
127 <tr>
128 - <ti>
129 - &gt;=2005.0/no-symlink
130 - </ti>
131 - <ti>
132 - d32
133 - </ti>
134 - <ti>
135 - d
136 - </ti>
137 - <ti>
138 - d64
139 - </ti>
140 + <ti>17.1</ti>
141 + <ti>x86</ti>
142 + <ti>non-existent</ti>
143 + <ti>amd64</ti>
144 + <ti>non-existent</ti>
145 </tr>
146 <tr>
147 - <ti>
148 - &gt;=2005.0/no-symlink/no-lib32
149 - </ti>
150 - <ti>
151 - inexistant
152 - </ti>
153 - <ti>
154 - d32
155 - </ti>
156 - <ti>
157 - d64
158 - </ti>
159 + <ti>17.1/no-multilib</ti>
160 + <ti>n/a</ti>
161 + <ti>non-existent</ti>
162 + <ti>amd64</ti>
163 + <ti>non-existent</ti>
164 </tr>
165 </table>
166
167 -<dl>
168 - <dt>
169 - d
170 - </dt>
171 - <dd>
172 - Directory containing mixed-bit objects
173 - </dd>
174 - <dt>
175 - dXX
176 - </dt>
177 - <dd>
178 - Directory containing XXbit objects
179 - </dd>
180 - <dt>
181 - l-&gt;foo
182 - </dt>
183 - <dd>
184 - Link to foo
185 - </dd>
186 -</dl>
187 -
188 <p>
189 -To always get the right path, you should use the function <c>$(get_libdir)</c>
190 -from <c><uri link="::eclass-reference/multilib.eclass/"/></c>. It will always
191 -return the correct directory, on all arches. And of course it also takes care
192 -of the <c>ABI</c> variable.
193 +To always get the right path, you should use <c>$(get_libdir)</c> which is
194 +available as a package manager function since EAPI 6. It will always return
195 +the correct directory, on all arches. And of course it also takes care of
196 +the <c>ABI</c> variable.
197 </p>
198
199 </body>
200 @@ -307,13 +232,10 @@ this behaviour is controlled by the <c>MULTILIB_STRICT_EXEMPT</c> variable in
201 <body>
202
203 <p>
204 -In most cases, it's sufficient to use the <c>$(get_libdir)</c> function from
205 -<c><uri link="::eclass-reference/multilib.eclass/"/></c>:
206 +In most cases, it's sufficient to use the <c>$(get_libdir)</c> function:
207 </p>
208
209 <codesample lang="ebuild">
210 -inherit multilib
211 -
212 src_compile() {
213 econf \
214 --libdir=/usr/$(get_libdir)