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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c84d855 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
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[dabbced]17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[663c5a6]18 href="../common/binutils.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21 <sect2 role="installation">
22 <title>Installation of Binutils</title>
23
[dabbced]24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]25 href="../common/binutils.xml"
26 xpointer="xpointer(//*[@os='b'])"/>
27
[dabbced]28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]29 href="../common/binutils.xml"
30 xpointer="xpointer(//*[@os='c'])"/>
31
[dabbced]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]33 href="../common/binutils.xml"
34 xpointer="xpointer(//*[@os='d'])"/>
35
[dabbced]36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]37 href="../common/binutils.xml"
38 xpointer="xpointer(//*[@os='e'])"/>
39
[dabbced]40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]41 href="../common/binutils.xml"
42 xpointer="xpointer(//*[@os='f'])"/>
43
[e61fedb]44<!-- Branch update patch area
[3e0fdeb]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'])"/>
[e61fedb]52-->
[dabbced]53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]54 href="../common/binutils.xml"
55 xpointer="xpointer(//*[@os='g'])"/>
56
[dabbced]57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]58 href="../common/binutils.xml"
59 xpointer="xpointer(//*[@os='h'])"/>
60
[dabbced]61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]62 href="../common/binutils.xml"
63 xpointer="xpointer(//*[@os='i'])"/>
64
[4173cd9]65<screen os="ca"><userinput>CC="gcc -isystem /usr/include" \
[b6831b6]66LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
[40ce7b8]67 ../binutils-&binutils-dir;/configure --prefix=/usr \
[f50b4d1]68 --libdir=/usr/lib --enable-shared \
[822ffd4]69 --disable-multilib --enable-64-bit-bfd</userinput></screen>
[3f8be484]70
[dabbced]71 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]72 href="../common/binutils.xml"
73 xpointer="xpointer(//*[@os='j'])"/>
74
[dabbced]75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]76 href="../common/binutils.xml"
77 xpointer="xpointer(//*[@os='k'])"/>
78
[dabbced]79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]80 href="../common/binutils.xml"
81 xpointer="xpointer(//*[@os='l'])"/>
82
[dabbced]83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]84 href="../common/binutils.xml"
85 xpointer="xpointer(//*[@os='n'])"/>
86
[dabbced]87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]88 href="../common/binutils.xml"
89 xpointer="xpointer(//*[@os='o'])"/>
90
[dabbced]91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]92 href="../common/binutils.xml"
93 xpointer="xpointer(//*[@os='p'])"/>
94
[dabbced]95 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]96 href="../common/binutils.xml"
97 xpointer="xpointer(//*[@os='q'])"/>
98
[28e6dc4]99 <para os="w1">Now that the tests have completed, remove the symlinks in
[6aff9c0]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>
[28e6dc4]102
[13b70f8]103<screen os="w2"><userinput>rm -v /usr/lib64/libstd*so*
[28e6dc4]104rmdir -v /usr/lib64</userinput></screen>
105
[dabbced]106 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]107 href="../common/binutils.xml"
108 xpointer="xpointer(//*[@os='r'])"/>
109
[dabbced]110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]111 href="../common/binutils.xml"
112 xpointer="xpointer(//*[@os='s'])"/>
113
114 </sect2>
115
[dabbced]116 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]117 href="../common/binutils.xml"
118 xpointer="xpointer(id('contents-binutils'))"/>
119
120</sect1>
Note: See TracBrowser for help on using the repository browser.