[67b70f4] | 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-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="../common/uclibc.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of uClibc</title>
|
---|
| 24 |
|
---|
| 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 26 | href="../common/uclibc.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 28 |
|
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 30 | href="../common/uclibc.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 32 |
|
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 34 | href="../common/uclibc.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 36 |
|
---|
| 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 38 | href="../common/uclibc.xml"
|
---|
| 39 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 40 |
|
---|
| 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 42 | href="../common/uclibc.xml"
|
---|
| 43 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 45 | href="../common/uclibc.xml"
|
---|
| 46 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 47 |
|
---|
| 48 | <screen os="e"><userinput>cp .config{,.orig}
|
---|
| 49 | sed -e "s@# TARGET_${CLFS_ARCH} is not set@TARGET_${CLFS_ARCH}=y@" \
|
---|
| 50 | -e "s@\(^TARGET_ARCH=\).*@\1\"${CLFS_ARCH}\"@" \
|
---|
| 51 | -e "s@\(^CROSS_COMPILER_PREFIX=\).*@\1\"${CLFS_TARGET}-\"@" \
|
---|
| 52 | -e "s@\(^KERNEL_HEADERS=\).*@\1\"${CLFS}/usr/include\"@" \
|
---|
| 53 | -e "s@.*\(^ARCH_BIG_ENDIAN\).*@# \1 is not set@g" \
|
---|
| 54 | -e "s@.*\(ARCH_LITTLE_ENDIAN\).*@\1=y@g" \
|
---|
| 55 | -e "s@.*\(ARCH_WANTS_LITTLE_ENDIAN\).*@\1=y@g" \
|
---|
| 56 | -e "s@.*\(^UCLIBC_HAS_FPU\).*@# \1 is not set@g" \
|
---|
| 57 | .config.orig > .config</userinput></screen>
|
---|
| 58 |
|
---|
| 59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 60 | href="../common/uclibc.xml"
|
---|
| 61 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 62 |
|
---|
| 63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 64 | href="../common/uclibc.xml"
|
---|
| 65 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 66 |
|
---|
| 67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 68 | href="../common/uclibc.xml"
|
---|
| 69 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 70 |
|
---|
| 71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 72 | href="../common/uclibc.xml"
|
---|
| 73 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 74 |
|
---|
| 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 76 | href="../common/uclibc.xml"
|
---|
| 77 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 82 | href="../common/uclibc.xml"
|
---|
| 83 | xpointer="xpointer(//*[@role='content'])"/>
|
---|
| 84 |
|
---|
| 85 | </sect1>
|
---|