source: BOOK/final-system/multilib/gcc.xml@ bf0866a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bf0866a 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: 3.8 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-gcc" role="wrap">
9 <?dbhtml filename="gcc.html"?>
10
11 <title>GCC-&gcc-version;</title>
12
13 <indexterm zone="ch-system-gcc">
14 <primary sortas="a-GCC">GCC</primary>
15 </indexterm>
16
[dabbced]17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1cd688b]18 href="../common/gcc.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21 <sect2 role="installation">
22 <title>Installation of GCC</title>
23
[dabbced]24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]25 href="../common/gcc.xml"
26 xpointer="xpointer(//*[@os='d'])"/>
27
[dabbced]28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]29 href="../common/gcc.xml"
30 xpointer="xpointer(//*[@os='e'])"/>
31
[dabbced]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]33 href="../common/gcc.xml"
34 xpointer="xpointer(//*[@os='f'])"/>
35
[dabbced]36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]37 href="../common/gcc.xml"
38 xpointer="xpointer(//*[@os='g'])"/>
39
[dabbced]40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]41 href="../common/gcc.xml"
42 xpointer="xpointer(//*[@os='h'])"/>
43
[b6831b6]44<screen os="i"><userinput>CC="gcc -isystem /usr/include ${BUILD64}" \
45CXX="g++ -isystem /usr/include ${BUILD64}" \
46LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64:/usr/lib:/lib" \
47 ../gcc-&gcc-version;/configure --prefix=/usr --libdir=/usr/lib64 \
[3f8be484]48 --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix \
49 --enable-__cxa_atexit --enable-c99 --enable-long-long \
50 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>
51
[dabbced]52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]53 href="../common/gcc.xml"
54 xpointer="xpointer(//*[@os='j'])"/>
55
[dabbced]56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]57 href="../common/gcc.xml"
58 xpointer="xpointer(//*[@os='k'])"/>
59
[dabbced]60 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]61 href="../common/gcc.xml"
62 xpointer="xpointer(//*[@os='l'])"/>
63
[dabbced]64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]65 href="../common/gcc.xml"
66 xpointer="xpointer(//*[@os='m'])"/>
67
[dabbced]68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]69 href="../common/gcc.xml"
70 xpointer="xpointer(//*[@os='n'])"/>
71
[dabbced]72 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]73 href="../common/gcc.xml"
74 xpointer="xpointer(//*[@os='o'])"/>
75
[dabbced]76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]77 href="../common/gcc.xml"
78 xpointer="xpointer(//*[@os='p'])"/>
79
[dabbced]80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]81 href="../common/gcc.xml"
82 xpointer="xpointer(//*[@os='q'])"/>
83
[dabbced]84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]85 href="../common/gcc.xml"
86 xpointer="xpointer(//*[@os='r'])"/>
87
[dabbced]88 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]89 href="../common/gcc.xml"
90 xpointer="xpointer(//*[@os='s'])"/>
91
[dabbced]92 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]93 href="../common/gcc.xml"
94 xpointer="xpointer(//*[@os='t'])"/>
95
[dabbced]96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]97 href="../common/gcc.xml"
98 xpointer="xpointer(//*[@os='u'])"/>
99
[dabbced]100 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]101 href="../common/gcc.xml"
102 xpointer="xpointer(//*[@os='v'])"/>
103
[dabbced]104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]105 href="../common/gcc.xml"
106 xpointer="xpointer(//*[@os='w'])"/>
107
[dabbced]108 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]109 href="../common/gcc.xml"
110 xpointer="xpointer(//*[@os='x'])"/>
111
112 </sect2>
113
[dabbced]114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]115 href="../common/gcc.xml"
116 xpointer="xpointer(id('contents-gcc'))"/>
117
118</sect1>
Note: See TracBrowser for help on using the repository browser.