1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
6 | %general-entities;
|
---|
7 | %patches-entities;
|
---|
8 | ]>
|
---|
9 |
|
---|
10 | <sect1 id="ch-cross-tools-glibc-64" role="wrap">
|
---|
11 | <?dbhtml filename="glibc-64.html"?>
|
---|
12 |
|
---|
13 | <title>Glibc-&glibc-version; 64-Bit</title>
|
---|
14 |
|
---|
15 | <indexterm zone="ch-cross-tools-glibc-64">
|
---|
16 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
17 | <secondary>cross tools, 64 Bit</secondary>
|
---|
18 | </indexterm>
|
---|
19 |
|
---|
20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
21 | href="../../final-system/common/glibc.xml"
|
---|
22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
23 |
|
---|
24 | <sect2 role="installation">
|
---|
25 | <title>Installation of Glibc</title>
|
---|
26 |
|
---|
27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
28 | href="glibc.xml"
|
---|
29 | xpointer="xpointer(//*[@os='da'])"/>
|
---|
30 |
|
---|
31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
32 | href="glibc.xml"
|
---|
33 | xpointer="xpointer(//*[@os='db'])"/>
|
---|
34 |
|
---|
35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
36 | href="glibc.xml"
|
---|
37 | xpointer="xpointer(//*[@os='dc'])"/>
|
---|
38 |
|
---|
39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
40 | href="glibc.xml"
|
---|
41 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
42 |
|
---|
43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
44 | href="glibc.xml"
|
---|
45 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
46 |
|
---|
47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
48 | href="glibc.xml"
|
---|
49 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
50 |
|
---|
51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
52 | href="glibc.xml"
|
---|
53 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
54 |
|
---|
55 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
56 | href="glibc.xml"
|
---|
57 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
58 |
|
---|
59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
60 | href="glibc.xml"
|
---|
61 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
62 |
|
---|
63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
64 | href="glibc.xml"
|
---|
65 | xpointer="xpointer(//*[@os='dd'])"/>
|
---|
66 |
|
---|
67 | <screen><userinput>echo "libc_cv_forced_unwind=yes" > config.cache
|
---|
68 | echo "libc_cv_c_cleanup=yes" >> config.cache
|
---|
69 | echo "libc_cv_sparc64_tls=yes" >> config.cache</userinput></screen>
|
---|
70 |
|
---|
71 | <para>Now we make sure the Glibc goes into <filename
|
---|
72 | class="directory">/tools/lib64</filename>:</para>
|
---|
73 |
|
---|
74 | <screen><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen>
|
---|
75 |
|
---|
76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
77 | href="glibc.xml"
|
---|
78 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
79 |
|
---|
80 | <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
|
---|
81 | AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
|
---|
82 | ../glibc-&glibc-version;/configure --prefix=/tools \
|
---|
83 | --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
|
---|
84 | --disable-profile --enable-add-ons \
|
---|
85 | --with-tls --enable-kernel=2.6.0 --with-__thread \
|
---|
86 | --with-binutils=/cross-tools/bin --with-headers=/tools/include \
|
---|
87 | --cache-file=config.cache</userinput></screen>
|
---|
88 |
|
---|
89 | <variablelist os="fa">
|
---|
90 | <title>The meaning of the new configure options:</title>
|
---|
91 |
|
---|
92 | <varlistentry os="fa1">
|
---|
93 | <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
|
---|
94 | <listitem>
|
---|
95 | <para>This switch do ... .</para>
|
---|
96 | </listitem>
|
---|
97 | </varlistentry>
|
---|
98 |
|
---|
99 | <varlistentry>
|
---|
100 | <term><parameter>--libdir=/tools/lib64</parameter></term>
|
---|
101 | <listitem>
|
---|
102 | <para>This switch do ... .</para>
|
---|
103 | </listitem>
|
---|
104 | </varlistentry>
|
---|
105 |
|
---|
106 | </variablelist>
|
---|
107 |
|
---|
108 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
109 | href="glibc.xml"
|
---|
110 | xpointer="xpointer(//*[@os='dj'])"/>
|
---|
111 |
|
---|
112 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
113 | href="glibc.xml"
|
---|
114 | xpointer="xpointer(//*[@os='dk'])"/>
|
---|
115 |
|
---|
116 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
117 | href="glibc.xml"
|
---|
118 | xpointer="xpointer(//*[@os='dl'])"/>
|
---|
119 |
|
---|
120 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
121 | href="glibc.xml"
|
---|
122 | xpointer="xpointer(//*[@os='dm'])"/>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="content">
|
---|
127 | <title/>
|
---|
128 |
|
---|
129 | <para>Details on this package are located in <xref
|
---|
130 | linkend="contents-glibc" role="."/></para>
|
---|
131 |
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | </sect1>
|
---|