source: cross-tools/multilib/glibc-64bit.xml@ a625f8b

Last change on this file since a625f8b was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[bf8c11f]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 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/glibc.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/glibc.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Glibc</title>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="glibc.xml"
48 xpointer="xpointer(//*[@os='da'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="glibc.xml"
52 xpointer="xpointer(//*[@os='db'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="glibc.xml"
56 xpointer="xpointer(//*[@os='dc'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="glibc.xml"
60 xpointer="xpointer(//*[@os='e'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="glibc.xml"
64 xpointer="xpointer(//*[@os='f'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="glibc.xml"
68 xpointer="xpointer(//*[@os='dd'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="glibc.xml"
72 xpointer="xpointer(//*[@os='de'])"/>
73
74 <para>Now we make sure the Glibc goes into <filename
75 class="directory">/tools/lib64</filename>:</para>
76
77<screen><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="glibc.xml"
81 xpointer="xpointer(//*[@os='g'])"/>
82
83<screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
84 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
85 ../glibc-&glibc-version;/configure --prefix=/tools \
86 --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
87 --disable-profile --enable-add-ons \
88 --with-tls --enable-kernel=2.6.0 --with-__thread \
89 --with-binutils=/cross-tools/bin --with-headers=/tools/include \
90 --cache-file=config.cache</userinput></screen>
91
92 <variablelist os="fa">
93 <title>The meaning of the new configure options:</title>
94
95 <varlistentry os="fa1">
96 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
97 <listitem>
98 <para>This switch do ... .</para>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry>
103 <term><parameter>--libdir=/tools/lib64</parameter></term>
104 <listitem>
105 <para>This switch do ... .</para>
106 </listitem>
107 </varlistentry>
108
109 </variablelist>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="glibc.xml"
113 xpointer="xpointer(//*[@os='dj'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="glibc.xml"
117 xpointer="xpointer(//*[@os='dk'])"/>
118
119 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
120 href="glibc.xml"
121 xpointer="xpointer(//*[@os='dl'])"/>
122
123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
124 href="glibc.xml"
125 xpointer="xpointer(//*[@os='dm'])"/>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title/>
131
132 <para>Details on this package are located in <xref
133 linkend="contents-glibc" role="."/></para>
134
135 </sect2>
136
137</sect1>
Note: See TracBrowser for help on using the repository browser.