source: BOOK/cross-tools/sparc64/glibc-64bit.xml@ de1878b7

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since de1878b7 was 3f8be484, 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.6 KB
Line 
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='s1'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="glibc.xml"
64 xpointer="xpointer(//*[@os='s2'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="glibc.xml"
68 xpointer="xpointer(//*[@os='c'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="glibc.xml"
72 xpointer="xpointer(//*[@os='d'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="glibc.xml"
76 xpointer="xpointer(//*[@os='e'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="glibc.xml"
80 xpointer="xpointer(//*[@os='f'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="glibc.xml"
84 xpointer="xpointer(//*[@os='dd'])"/>
85
86<screen><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
87echo "libc_cv_c_cleanup=yes" &gt;&gt; config.cache
88echo "libc_cv_sparc64_tls=yes" &gt;&gt; config.cache</userinput></screen>
89
90 <para>Now we make sure the Glibc goes into <filename
91 class="directory">/tools/lib64</filename>:</para>
92
93<screen><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
94
95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
96 href="glibc.xml"
97 xpointer="xpointer(//*[@os='g'])"/>
98
99<screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
100 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
101 ../glibc-&glibc-version;/configure --prefix=/tools \
102 --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
103 --disable-profile --enable-add-ons \
104 --with-tls --enable-kernel=2.6.0 --with-__thread \
105 --with-binutils=/cross-tools/bin --with-headers=/tools/include \
106 --cache-file=config.cache</userinput></screen>
107
108 <variablelist os="fa">
109 <title>The meaning of the new configure options:</title>
110
111 <varlistentry os="fa1">
112 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
113 <listitem>
114 <para>This switch do ... .</para>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry>
119 <term><parameter>--libdir=/tools/lib64</parameter></term>
120 <listitem>
121 <para>This switch do ... .</para>
122 </listitem>
123 </varlistentry>
124
125 </variablelist>
126
127 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
128 href="glibc.xml"
129 xpointer="xpointer(//*[@os='dj'])"/>
130
131 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
132 href="glibc.xml"
133 xpointer="xpointer(//*[@os='dk'])"/>
134
135 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
136 href="glibc.xml"
137 xpointer="xpointer(//*[@os='dl'])"/>
138
139 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
140 href="glibc.xml"
141 xpointer="xpointer(//*[@os='dm'])"/>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title/>
147
148 <para>Details on this package are located in <xref
149 linkend="contents-glibc" role="."/></para>
150
151 </sect2>
152
153</sect1>
Note: See TracBrowser for help on using the repository browser.