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 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-cross-tools-uclibc" role="wrap">
|
---|
9 | <?dbhtml filename="uclibc.html"?>
|
---|
10 |
|
---|
11 | <title>uClibc-&uclibc-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-cross-tools-uclibc">
|
---|
14 | <primary sortas="a-uClibc">uClibc</primary>
|
---|
15 | <secondary>cross tools</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
19 | href="../x86/uclibc.xml"
|
---|
20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
21 |
|
---|
22 | <sect2 role="installation">
|
---|
23 | <title>Installation of uClibc</title>
|
---|
24 |
|
---|
25 | <para os="a">Since we are cross-compiling, we need to make sure when we
|
---|
26 | configuration for our architecture we get the correct information. The
|
---|
27 | following sed makes sure we are using the proper settings for our
|
---|
28 | architecture:</para>
|
---|
29 |
|
---|
30 | <screen os="b"><userinput>cp extra/Configs/Config.in extra/Configs/Config.in.orig
|
---|
31 | sed -e "s:default TARGET_i386:default TARGET_mips:" \
|
---|
32 | extra/Configs/Config.in.orig > extra/Configs/Config.in
|
---|
33 | cp extra/Configs/Config.mips extra/Configs/Config.mips.orig
|
---|
34 | sed -e "s:default CONFIG_MIPS_ISA_1:default CONFIG_MIPS_ISA_${CLFS_MIPS_LEVEL}:" \
|
---|
35 | extra/Configs/Config.mips.orig > extra/Configs/Config.mips</userinput></screen>
|
---|
36 |
|
---|
37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
38 | href="../x86/uclibc.xml"
|
---|
39 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
40 |
|
---|
41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
42 | href="../x86/uclibc.xml"
|
---|
43 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
44 |
|
---|
45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
46 | href="../x86/uclibc.xml"
|
---|
47 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
48 |
|
---|
49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
50 | href="../x86/uclibc.xml"
|
---|
51 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
52 |
|
---|
53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
54 | href="../x86/uclibc.xml"
|
---|
55 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
56 |
|
---|
57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
58 | href="../x86/uclibc.xml"
|
---|
59 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
60 |
|
---|
61 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
62 | href="../x86/uclibc.xml"
|
---|
63 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
64 |
|
---|
65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
66 | href="../x86/uclibc.xml"
|
---|
67 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
68 |
|
---|
69 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
70 | href="../x86/uclibc.xml"
|
---|
71 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
72 |
|
---|
73 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
74 | href="../x86/uclibc.xml"
|
---|
75 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
76 |
|
---|
77 | <screen os="m"><userinput>make TARGET_ARCH=mips</userinput></screen>
|
---|
78 |
|
---|
79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
80 | href="../x86/uclibc.xml"
|
---|
81 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
82 |
|
---|
83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
84 | href="../x86/uclibc.xml"
|
---|
85 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
86 |
|
---|
87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
88 | href="../x86/uclibc.xml"
|
---|
89 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
90 |
|
---|
91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
92 | href="../x86/uclibc.xml"
|
---|
93 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="content" id="contents-uclibc">
|
---|
98 | <title/>
|
---|
99 |
|
---|
100 | <para>Details on this package are located in <xref
|
---|
101 | linkend="contents-uclibc" role="."/></para>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | </sect1>
|
---|
106 |
|
---|