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

clfs-3.0.0-sysvinit sysvinit
Last change on this file since ac1fb6d was e1bee3d4, checked in by Chris Staub <chris@…>, 11 years ago

Fix binutils instructions to ensure tooldir is used on make

  • Property mode set to 100644
File size: 4.0 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/2001/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/2001/XInclude"
25 href="../common/binutils.xml"
26 xpointer="xpointer(//*[@os='b'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
29 href="../common/binutils.xml"
30 xpointer="xpointer(//*[@os='c'])"/>
31
32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
33 href="../common/binutils.xml"
34 xpointer="xpointer(//*[@os='d'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
37 href="../common/binutils.xml"
38 xpointer="xpointer(//*[@os='e'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
41 href="../common/binutils.xml"
42 xpointer="xpointer(//*[@os='f'])"/>
43
44<!-- Branch update patch area
45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
46 href="../../final-system/common/binutils.xml"
47 xpointer="xpointer(//*[@os='p1'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
50 href="../../final-system/common/binutils.xml"
51 xpointer="xpointer(//*[@os='p2'])"/>
52-->
53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
54 href="../common/binutils.xml"
55 xpointer="xpointer(//*[@os='g'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
58 href="../common/binutils.xml"
59 xpointer="xpointer(//*[@os='h'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62 href="../common/binutils.xml"
63 xpointer="xpointer(//*[@os='i'])"/>
64
65<screen os="ca"><userinput>CC="gcc -isystem /usr/include" \
66LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
67 ../binutils-&binutils-dir;/configure --prefix=/usr \
68 --libdir=/usr/lib --enable-shared \
69 --disable-multilib --enable-64-bit-bfd</userinput></screen>
70
71 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
72 href="../common/binutils.xml"
73 xpointer="xpointer(//*[@os='j'])"/>
74
75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
76 href="../common/binutils.xml"
77 xpointer="xpointer(//*[@os='k'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
80 href="../common/binutils.xml"
81 xpointer="xpointer(//*[@os='l'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
84 href="../common/binutils.xml"
85 xpointer="xpointer(//*[@os='n'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
88 href="../common/binutils.xml"
89 xpointer="xpointer(//*[@os='o'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
92 href="../common/binutils.xml"
93 xpointer="xpointer(//*[@os='p'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
96 href="../common/binutils.xml"
97 xpointer="xpointer(//*[@os='q'])"/>
98
99 <para os="w1">Now that the tests have completed, remove the symlinks in
100 <filename class="directory">/usr/lib64</filename> - they should be the
101 only things in that directory, so we can remove it without force:</para>
102
103<screen os="w2"><userinput>rm -v /usr/lib64/libstd*so*
104rmdir -v /usr/lib64</userinput></screen>
105
106 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
107 href="../common/binutils.xml"
108 xpointer="xpointer(//*[@os='r'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
111 href="../common/binutils.xml"
112 xpointer="xpointer(//*[@os='s'])"/>
113
114 </sect2>
115
116 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
117 href="../common/binutils.xml"
118 xpointer="xpointer(id('contents-binutils'))"/>
119
120</sect1>
Note: See TracBrowser for help on using the repository browser.