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

Last change on this file since 5f27dfa was b6831b6, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Update the LDFLAGS in the final-system between the installation
of EGLIBC and the installation of GCC. This should fix build errors
in a few odd situations, but it is also correct now. Before /usr/lib*
was not being set in rpath-link, just /lib*.

  • 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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
45 href="../common/binutils.xml"
46 xpointer="xpointer(//*[@os='g'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
49 href="../common/binutils.xml"
50 xpointer="xpointer(//*[@os='h'])"/>
51
52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
53 href="../common/binutils.xml"
54 xpointer="xpointer(//*[@os='i'])"/>
55
56<screen os="ca"><userinput>CC="gcc -isystem /usr/include" \
57LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
58 ../binutils-&binutils-version;/configure --prefix=/usr \
59 --libdir=/usr/lib --enable-shared \
60 --disable-multilib --enable-64-bit-bfd</userinput></screen>
61
62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
63 href="../common/binutils.xml"
64 xpointer="xpointer(//*[@os='j'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
67 href="../common/binutils.xml"
68 xpointer="xpointer(//*[@os='k'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
71 href="../common/binutils.xml"
72 xpointer="xpointer(//*[@os='l'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
75 href="../common/binutils.xml"
76 xpointer="xpointer(//*[@os='m'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
79 href="../common/binutils.xml"
80 xpointer="xpointer(//*[@os='n'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
83 href="../common/binutils.xml"
84 xpointer="xpointer(//*[@os='o'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
87 href="../common/binutils.xml"
88 xpointer="xpointer(//*[@os='p'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
91 href="../common/binutils.xml"
92 xpointer="xpointer(//*[@os='q'])"/>
93
94 <para os="w1">Now that the tests have completed, remove the symlinks in
95 <filename class="directory">/usr/lib64</filename> - they should be the
96 only things in that directory, so we can remove it without force:</para>
97
98<screen os="w2"><userinput>rm -v /usr/lib64/libstd*so*
99rmdir -v /usr/lib64</userinput></screen>
100
101 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
102 href="../common/binutils.xml"
103 xpointer="xpointer(//*[@os='r'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
106 href="../common/binutils.xml"
107 xpointer="xpointer(//*[@os='s'])"/>
108
109 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
110 href="../common/binutils.xml"
111 xpointer="xpointer(//*[@os='t'])"/>
112
113 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
114 href="../common/binutils.xml"
115 xpointer="xpointer(//*[@os='u'])"/>
116
117 </sect2>
118
119 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
120 href="../common/binutils.xml"
121 xpointer="xpointer(id('contents-binutils'))"/>
122
123</sect1>
Note: See TracBrowser for help on using the repository browser.