source: clfs-embedded/BOOK/cross-tools/arm/uclibc.xml @ 3b3960b

Last change on this file since 3b3960b was 3b3960b, checked in by Andrew Bradford <bradfa@…>, 13 years ago

ARM uClibc uses sed to change from OABI to EABI

Rather than use uClibc configs-3.patch, we previously changed back to using
configs-2.patch. This has uClibc choose OABI versus EABI for ARM based
on a sed command.

  • Property mode set to 100644
File size: 2.6 KB
Line 
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<!-- ARM specific uClibc -->
9
10<sect1 id="ch-cross-tools-uclibc" role="wrap">
11  <?dbhtml filename="uclibc.html"?>
12
13  <title>uClibc-&uclibc-version;</title>
14
15  <indexterm zone="ch-cross-tools-uclibc">
16    <primary sortas="a-uClibc">uClibc</primary>
17    <secondary>cross tools</secondary>
18  </indexterm>
19
20  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21  href="../common/uclibc.xml"
22  xpointer="xpointer(//*[@role='package'])"/>
23
24  <sect2 role="installation">
25    <title>Installation of uClibc</title>
26
27    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28    href="../common/uclibc.xml"
29    xpointer="xpointer(//*[@os='a'])"/>
30
31    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32    href="../common/uclibc.xml"
33    xpointer="xpointer(//*[@os='b'])"/>
34
35    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36    href="../common/uclibc.xml"
37    xpointer="xpointer(//*[@os='c'])"/>
38
39
40   <para os="d">For the ARM architecture, there are two different configurations
41   of uClibc that can be used: the EABI configuration and the OABI configuration.
42   We will first copy the OABI configuration and, if the EABI was selected, modify
43   it to use the EABI:</para>
44
45<screen os="e"><userinput>cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN} .config
46if [ "${CLFS_ABI}" == "aapcs" ] || [ "${CLFS_ABI}" == "aapcs-linux" ]; \
47then sed -i s/CONFIG_ARM_OABI/CONFIG_ARM_EABI/g .config; fi</userinput></screen>
48
49    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50    href="../common/uclibc.xml"
51    xpointer="xpointer(//*[@os='f'])"/>
52
53    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54    href="../common/uclibc.xml"
55    xpointer="xpointer(//*[@os='g'])"/>
56
57    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58    href="../common/uclibc.xml"
59    xpointer="xpointer(//*[@os='h'])"/>
60
61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62    href="../common/uclibc.xml"
63    xpointer="xpointer(//*[@os='i'])"/>
64
65    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66    href="../common/uclibc.xml"
67    xpointer="xpointer(//*[@os='l'])"/>
68
69    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70    href="../common/uclibc.xml"
71    xpointer="xpointer(//*[@os='j'])"/>
72
73  </sect2>
74
75  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76  href="../common/uclibc.xml"
77  xpointer="xpointer(//*[@role='content'])"/>
78
79</sect1>
Note: See TracBrowser for help on using the repository browser.