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

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