source: BOOK/final-system/64/binutils.xml@ 97bbe67

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 97bbe67 was e124019, checked in by Jim Gifford <clfs@…>, 15 years ago

Added Binutils 2.19.51

  • Property mode set to 100644
File size: 5.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-binutils" role="wrap">
9 <?dbhtml filename="binutils.html"?>
10
11 <title>Binutils-&binutils-version;</title>
12
13 <indexterm zone="ch-system-binutils">
14 <primary sortas="a-Binutils">Binutils</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/binutils.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Binutils</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../common/binutils.xml"
26 xpointer="xpointer(//*[@os='b'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="../common/binutils.xml"
30 xpointer="xpointer(//*[@os='c'])"/>
31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="../common/binutils.xml"
34 xpointer="xpointer(//*[@os='d'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../common/binutils.xml"
38 xpointer="xpointer(//*[@os='e'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../common/binutils.xml"
42 xpointer="xpointer(//*[@os='f'])"/>
43
44<!--
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../common/binutils.xml"
47 xpointer="xpointer(//*[@os='p1'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../common/binutils.xml"
51 xpointer="xpointer(//*[@os='p2'])"/>
52-->
53
54 <para os="q1">Libiberty uses
55 <command>gcc -print-multi-os-directory</command> to determine where to
56 install <filename class="libraryfile">libiberty.a</filename>. Because our
57 temporary GCC is still multilib-aware, the command returns
58 <literal>../lib64</literal> which causes the archive to be installed into
59 <filename class="directory">/usr/lib64</filename>. The following sed will
60 prevent this:</para>
61
62<screen os="q2"><userinput>sed -i 's%\(^MULTIOSDIR = \).*%\1 ../lib%' libiberty/Makefile.in</userinput></screen>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../common/binutils.xml"
66 xpointer="xpointer(//*[@os='g'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../common/binutils.xml"
70 xpointer="xpointer(//*[@os='h'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../common/binutils.xml"
74 xpointer="xpointer(//*[@os='i'])"/>
75
76<screen os="ca"><userinput>CC="gcc -isystem /usr/include" \
77 LDFLAGS="-Wl,-rpath-link,/lib" \
78 ../binutils-&binutils-version;/configure --prefix=/usr \
79 --libdir=/usr/lib --enable-shared \
80 --disable-multilib --enable-64-bit-bfd</userinput></screen>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../common/binutils.xml"
84 xpointer="xpointer(//*[@os='j'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../common/binutils.xml"
88 xpointer="xpointer(//*[@os='k'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91 href="../common/binutils.xml"
92 xpointer="xpointer(//*[@os='l'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../common/binutils.xml"
96 xpointer="xpointer(//*[@os='m'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../common/binutils.xml"
100 xpointer="xpointer(//*[@os='n'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="../common/binutils.xml"
104 xpointer="xpointer(//*[@os='o'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="../common/binutils.xml"
108 xpointer="xpointer(//*[@os='ts1'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
111 href="../common/binutils.xml"
112 xpointer="xpointer(//*[@os='ts2'])"/>
113
114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
115 href="../common/binutils.xml"
116 xpointer="xpointer(//*[@os='p'])"/>
117
118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
119 href="../common/binutils.xml"
120 xpointer="xpointer(//*[@os='q'])"/>
121
122 <para os="w1">Now that the tests have completed, remove the symlinks in
123 <filename class="directory">/usr/lib64</filename> - they should be the
124 only things in that directory, so we can remove it without force:</para>
125
126<screen os="w2"><userinput>rm -v /usr/lib64/libstd*so*
127rmdir -v /usr/lib64</userinput></screen>
128
129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
130 href="../common/binutils.xml"
131 xpointer="xpointer(//*[@os='r'])"/>
132
133 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
134 href="../common/binutils.xml"
135 xpointer="xpointer(//*[@os='s'])"/>
136
137 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
138 href="../common/binutils.xml"
139 xpointer="xpointer(//*[@os='t'])"/>
140
141 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
142 href="../common/binutils.xml"
143 xpointer="xpointer(//*[@os='u'])"/>
144
145 </sect2>
146
147 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
148 href="../common/binutils.xml"
149 xpointer="xpointer(id('contents-binutils'))"/>
150
151</sect1>
Note: See TracBrowser for help on using the repository browser.