source: clfs-embedded/BOOK/cross-tools/arm/uclibc.xml@ 06beb7a

Last change on this file since 06beb7a was 3c8eaa6, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated uClibc make command in the cross-tools section for CLFS Embedded, Thanks to Simon for Reporting this on IRC and the Mailing List.

  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[ad36f39]1<?xml version="1.0" encoding="ISO-8859-1"?>
[bd48e48]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[ad36f39]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
[2567553]30<screen os="b"><userinput>cp extra/Configs/Config.arm extra/Configs/Config.arm.orig
[ad36f39]31sed -e "/default/s:OABI:EABI:" \
32 extra/Configs/Config.arm.orig > extra/Configs/Config.arm</userinput></screen>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../x86/uclibc.xml"
36 xpointer="xpointer(//*[@os='e'])"/>
37
[2567553]38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../x86/uclibc.xml"
40 xpointer="xpointer(//*[@os='p1'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../x86/uclibc.xml"
44 xpointer="xpointer(//*[@os='p2'])"/>
45
[ad36f39]46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../x86/uclibc.xml"
48 xpointer="xpointer(//*[@os='f'])"/>
49
50<screen os="g"><userinput>make defconfig ARCH=arm</userinput></screen>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../x86/uclibc.xml"
54 xpointer="xpointer(//*[@os='h'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../x86/uclibc.xml"
58 xpointer="xpointer(//*[@os='i'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../x86/uclibc.xml"
62 xpointer="xpointer(//*[@os='j'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../x86/uclibc.xml"
66 xpointer="xpointer(//*[@os='k'])"/>
67
68 <para os="m1">If your ARM system is Big Endian, you will
69 need at add the following lines to your configuration:</para>
70
71<screen os="m2"><userinput>echo "ARCH_ANY_ENDIAN=y" &gt;&gt; .config
72echo "ARCH_BIG_ENDIAN=y" &gt;&gt; .config
73echo "ARCH_WANTS_BIG_ENDIAN=y" &gt;&gt; .config</userinput></screen>
74
75 <para os="m3">If your ARM system is Little Endian, you will
76 need at add the following lines to your configuration:</para>
77
78<screen os="m4"><userinput>echo "ARCH_ANY_ENDIAN=y" &gt;&gt; .config
79echo "ARCH_LITTLE_ENDIAN=y" &gt;&gt; .config
80echo "ARCH_WANTS_LITTLE_ENDIAN=y" &gt;&gt; .config</userinput></screen>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../x86/uclibc.xml"
84 xpointer="xpointer(//*[@os='l'])"/>
85
[53f8451]86<screen os="m"><userinput>make oldconfig</userinput></screen>
[ad36f39]87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../x86/uclibc.xml"
90 xpointer="xpointer(//*[@os='n'])"/>
91
[3c8eaa6]92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../x86/uclibc.xml"
94 xpointer="xpointer(//*[@os='o'])"/>
[ad36f39]95
96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97 href="../x86/uclibc.xml"
98 xpointer="xpointer(//*[@os='p'])"/>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../x86/uclibc.xml"
102 xpointer="xpointer(//*[@os='q'])"/>
103
104 </sect2>
105
106 <sect2 role="content" id="contents-uclibc">
107 <title/>
108
109 <para>Details on this package are located in <xref
110 linkend="contents-uclibc" role="."/></para>
111
112 </sect2>
113
114</sect1>
115
Note: See TracBrowser for help on using the repository browser.