1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-cross-tools-eglibc" role="wrap">
|
---|
9 | <title>EGLIBC-&eglibc-version;</title>
|
---|
10 |
|
---|
11 | <?dbhtml filename="eglibc.html"?>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-cross-tools-eglibc">
|
---|
14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
18 | href="../common/eglibc.xml"
|
---|
19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
20 |
|
---|
21 | <sect2 role="installation">
|
---|
22 | <title>Installation of EGLIBC</title>
|
---|
23 |
|
---|
24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
25 | href="../common/eglibc.xml"
|
---|
26 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
27 |
|
---|
28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
29 | href="../common/eglibc.xml"
|
---|
30 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
31 |
|
---|
32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
33 | href="../common/eglibc.xml"
|
---|
34 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="../common/eglibc.xml"
|
---|
38 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="../common/eglibc.xml"
|
---|
42 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="../common/eglibc.xml"
|
---|
46 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
47 |
|
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
49 | href="../common/eglibc.xml"
|
---|
50 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
51 |
|
---|
52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
53 | href="../common/eglibc.xml"
|
---|
54 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
55 |
|
---|
56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
57 | href="../common/eglibc.xml"
|
---|
58 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
59 |
|
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
61 | href="../common/eglibc.xml"
|
---|
62 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
63 |
|
---|
64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
65 | href="../common/eglibc.xml"
|
---|
66 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
67 |
|
---|
68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
69 | href="../common/eglibc.xml"
|
---|
70 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
71 |
|
---|
72 | <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
|
---|
73 | AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
|
---|
74 | CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET}) -mtune=generic -g -O2" \
|
---|
75 | ../eglibc-&eglibc-version;/configure --prefix=/usr \
|
---|
76 | --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \
|
---|
77 | --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.0 \
|
---|
78 | --with-__thread --with-binutils=${CLFS}/cross-tools/bin \
|
---|
79 | --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen>
|
---|
80 |
|
---|
81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
82 | href="../common/eglibc.xml"
|
---|
83 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
84 |
|
---|
85 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
86 | href="../common/eglibc.xml"
|
---|
87 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
88 |
|
---|
89 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
90 | href="../common/eglibc.xml"
|
---|
91 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
92 |
|
---|
93 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
94 | href="../common/eglibc.xml"
|
---|
95 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
96 |
|
---|
97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
98 | href="../common/eglibc.xml"
|
---|
99 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
100 |
|
---|
101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
102 | href="../common/eglibc.xml"
|
---|
103 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
104 |
|
---|
105 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
106 | href="../common/eglibc.xml"
|
---|
107 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
108 |
|
---|
109 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
110 | href="../common/eglibc.xml"
|
---|
111 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
112 |
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
116 | href="../common/eglibc.xml"
|
---|
117 | xpointer="xpointer(id('i18n-eglibc'))"/>
|
---|
118 |
|
---|
119 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
120 | href="../common/eglibc.xml"
|
---|
121 | xpointer="xpointer(id('conf-eglibc'))"/>
|
---|
122 |
|
---|
123 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
124 | href="../common/eglibc.xml"
|
---|
125 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
126 |
|
---|
127 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
128 | href="../common/eglibc.xml"
|
---|
129 | xpointer="xpointer(id('contents-eglibc'))"/>
|
---|
130 |
|
---|
131 | </sect1>
|
---|