Changeset 75a0379 in clfs-embedded for BOOK/cross-tools
- Timestamp:
- Oct 15, 2013, 1:00:05 PM (11 years ago)
- Branches:
- master
- Children:
- c01e552
- Parents:
- d6d3617
- git-author:
- Andrew Bradford <andrew@…> (10/14/13 13:21:45)
- git-committer:
- Andrew Bradford <andrew@…> (10/15/13 13:00:05)
- Location:
- BOOK/cross-tools
- Files:
-
- 1 deleted
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm-chapter.xml
rd6d3617 r75a0379 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/gcc-static.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ uclibc.xml"/>20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libc.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/gcc-final.xml"/> 22 22 -
BOOK/cross-tools/arm/variables.xml
rd6d3617 r75a0379 27 27 processor is a Cortex-A series, which often have hardware floating point 28 28 capability, good choices include: triplet of 29 armv7a-unknown-linux- uclibceabi, ARM arch of armv7-a, float of hard, and fpu29 armv7a-unknown-linux-musleabi, ARM arch of armv7-a, float of hard, and fpu 30 30 of vfpv3-d16.</para> 31 31 … … 102 102 <entry>little</entry> 103 103 <entry>EABI</entry> 104 <entry>armv5l-unknown-linux- uclibceabi</entry>104 <entry>armv5l-unknown-linux-musleabi</entry> 105 105 </row> 106 106 <row> … … 108 108 <entry>big</entry> 109 109 <entry>EABI</entry> 110 <entry>armv5b-unknown-linux- uclibceabi</entry>110 <entry>armv5b-unknown-linux-musleabi</entry> 111 111 </row> 112 112 <row> … … 114 114 <entry>little</entry> 115 115 <entry>EABI</entry> 116 <entry>arm-unknown-linux- uclibceabi</entry>116 <entry>arm-unknown-linux-musleabi</entry> 117 117 </row> 118 118 <row> … … 120 120 <entry>little</entry> 121 121 <entry>EABI</entry> 122 <entry>armv7a-unknown-linux- uclibceabi</entry>122 <entry>armv7a-unknown-linux-musleabi</entry> 123 123 </row> 124 124 </tbody> -
BOOK/cross-tools/common/libc.xml
rd6d3617 r75a0379 6 6 ]> 7 7 8 <!-- Common uClibc --> 8 <sect1 id="ch-cross-tools-libc" role="wrap"> 9 <?dbhtml filename="libc.html"?> 9 10 10 <sect1 id="ch-cross-tools-uclibc" role="wrap"> 11 <?dbhtml filename="uclibc.html"?> 11 <title>musl-libc-&musl-libc-version;</title> 12 12 13 <title>uClibc-&uclibc-version;</title> 14 15 <indexterm zone="ch-cross-tools-uclibc"> 16 <primary sortas="a-uClibc">uClibc</primary> 13 <indexterm zone="ch-cross-tools-libc"> 14 <primary sortas="a-libc">musl-libc</primary> 17 15 <secondary>cross tools</secondary> 18 16 </indexterm> … … 21 19 <title/> 22 20 23 <para>The uClibc package contains the main C library. This library provides21 <para>The musl-libc package contains the main C library. This library provides 24 22 the basic routines for allocating memory, searching directories, opening and 25 23 closing files, reading and writing files, string handling, pattern matching, … … 29 27 30 28 <sect2 role="installation"> 31 <title>Installation of uClibc</title> 32 33 <note os="a"> 34 <para>Below we are just telling uClibc to use its default configuration. 35 For those who are more adventurous, you can use make menuconfig and 36 do a more custom build for your uClibc installation.</para> 37 </note> 38 39 <para os="b">The following patch contains the default configurations for 40 the architectures covered in this book:</para> 41 42 <screen os="c"><userinput>patch -Np1 -i ../&uclibc-configs-patch;</userinput></screen> 43 44 <para os="d">Now we will copy the configuration file best matching this 45 build and use that as the base:</para> 46 47 <screen os="e"><userinput>cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN} .config</userinput></screen> 48 49 <para os="f">The config is a basic working system, but there are some 50 options that are architecture specifc that need to be set. The following 51 command will only bring up items that need a value that we did not 52 specify in our generic config file patch:</para> 53 54 <screen os="g"><userinput>make oldconfig</userinput></screen> 29 <title>Installation of musl-libc</title> 55 30 56 31 <para os="h">Compile the package:</para> 57 32 58 <screen os="i"><userinput>make</userinput></screen> 33 <screen os="i"><userinput>CC=${CLFS_TARGET}-gcc make \ 34 --enable-debug</userinput></screen> 59 35 60 36 <para os="l">Install the package:</para> … … 64 40 </sect2> 65 41 66 <sect2 id="contents- uclibc" role="content">67 <title>Contents of uClibc</title>42 <sect2 id="contents-musl-libc" role="content"> 43 <title>Contents of musl-libc</title> 68 44 69 45 <segmentedlist> … … 72 48 <segtitle>Installed Headers</segtitle> 73 49 <seglistitem> 74 <seg>ld- uClibc.so.0</seg>50 <seg>ld-musl-libc.so.0</seg> 75 51 <seg> libc.so.0, libcrypt.so.0, libdl.so.0, libm.so.0, libpthread.so.0, 76 52 librt.so.0</seg> … … 84 60 <?dbhtml list-presentation="table"?> 85 61 86 <varlistentry id="ld- uClibc">87 <term><command>ld- uClibc</command></term>62 <varlistentry id="ld-musl-libc"> 63 <term><command>ld-musl-libc</command></term> 88 64 <listitem> 89 <para>The uClibc dynamic linker / loader</para>90 <indexterm zone="ch-cross-tools- uclibc ld-uClibc">91 <primary sortas="b-ld- uClibc">ld-uClibc</primary>65 <para>The musl-libc dynamic linker / loader</para> 66 <indexterm zone="ch-cross-tools-libc ld-musl-libc"> 67 <primary sortas="b-ld-musl-libc">ld-musl-libc</primary> 92 68 </indexterm> 93 69 </listitem> … … 98 74 <listitem> 99 75 <para>The C library</para> 100 <indexterm zone="ch-cross-tools- uclibc libc">76 <indexterm zone="ch-cross-tools-libc libc"> 101 77 <primary sortas="c-libc">libc</primary> 102 78 </indexterm> … … 108 84 <listitem> 109 85 <para>The cryptographic library</para> 110 <indexterm zone="ch-cross-tools- uclibc libcrypt">86 <indexterm zone="ch-cross-tools-libc libcrypt"> 111 87 <primary sortas="c-libcrypt">libcrypt</primary> 112 88 </indexterm> … … 117 93 <term><filename class="libraryfile">libdl</filename></term> 118 94 <listitem> 119 <para>The uClibc dynamic linker / loader library</para>120 <indexterm zone="ch-cross-tools- uclibc libdl">95 <para>The musl-libc dynamic linker / loader library</para> 96 <indexterm zone="ch-cross-tools-libc libdl"> 121 97 <primary sortas="c-libdl">libdl</primary> 122 98 </indexterm> … … 128 104 <listitem> 129 105 <para>The math library</para> 130 <indexterm zone="ch-cross-tools- uclibc libm">106 <indexterm zone="ch-cross-tools-libc libm"> 131 107 <primary sortas="c-libm">libm</primary> 132 108 </indexterm> … … 138 114 <listitem> 139 115 <para>The POSIX thread library</para> 140 <indexterm zone="ch-cross-tools- uclibc libpthread">116 <indexterm zone="ch-cross-tools-libc libpthread"> 141 117 <primary sortas="c-libpthread">libpthread</primary> 142 118 </indexterm> … … 148 124 <listitem> 149 125 <para>The clock and timer library</para> 150 <indexterm zone="ch-cross-tools- uclibc librt">126 <indexterm zone="ch-cross-tools-libc librt"> 151 127 <primary sortas="c-librt">librt</primary> 152 128 </indexterm> -
BOOK/cross-tools/mips-chapter.xml
rd6d3617 r75a0379 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-static.xml"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href=" mips/uclibc.xml"/>21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libc.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-final.xml"/> 23 23 -
BOOK/cross-tools/mips/variables.xml
rd6d3617 r75a0379 76 76 <row> 77 77 <entry>MIPS 32 bits Little Endian</entry> 78 <entry>mipsel-unknown-linux- uclibc</entry>78 <entry>mipsel-unknown-linux-musl</entry> 79 79 <entry>1</entry> 80 80 </row> 81 81 <row> 82 82 <entry>MIPS 32 bits Big Endian</entry> 83 <entry>mips-unknown-linux- uclibc</entry>83 <entry>mips-unknown-linux-musl</entry> 84 84 <entry>1</entry> 85 85 </row> 86 86 <row> 87 87 <entry>MIPS 64 bits Little Endian</entry> 88 <entry>mips64el-unknown-linux- uclibc</entry>88 <entry>mips64el-unknown-linux-musl</entry> 89 89 <entry>3</entry> 90 90 </row> 91 91 <row> 92 92 <entry>MIPS 64 bits Big Endian</entry> 93 <entry>mips64-unknown-linux- uclibc</entry>93 <entry>mips64-unknown-linux-musl</entry> 94 94 <entry>3</entry> 95 95 </row> -
BOOK/cross-tools/x86-chapter.xml
rd6d3617 r75a0379 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-static.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ uclibc.xml"/>20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libc.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-final.xml"/> 22 22 -
BOOK/cross-tools/x86/variables.xml
rd6d3617 r75a0379 62 62 <row> 63 63 <entry>486 Compatibles</entry> 64 <entry>i486-pc-linux- uclibc</entry>64 <entry>i486-pc-linux-musl</entry> 65 65 <entry>i486</entry> 66 66 <entry>Intel's i486</entry> … … 68 68 <row> 69 69 <entry>Pentium, K6, 586 Compatibles</entry> 70 <entry>i586-pc-linux- uclibc</entry>70 <entry>i586-pc-linux-musl</entry> 71 71 <entry>i586</entry> 72 72 <entry>Intel Pentium without MMX</entry> … … 74 74 <row> 75 75 <entry>Pentium II, Pentium III, Pentium 4</entry> 76 <entry>i686-pc-linux- uclibc</entry>76 <entry>i686-pc-linux-musl</entry> 77 77 <entry>i686</entry> 78 78 <entry>PentiumPro instruction set</entry> … … 80 80 <row> 81 81 <entry>Athlon</entry> 82 <entry>i686-pc-linux- uclibc</entry>82 <entry>i686-pc-linux-musl</entry> 83 83 <entry>athlon</entry> 84 84 <entry>AMD 32 bit Athlon</entry> … … 86 86 <row> 87 87 <entry>Opteron</entry> 88 <entry>x86_64-unknown-linux- uclibc</entry>88 <entry>x86_64-unknown-linux-musl</entry> 89 89 <entry>k8</entry> 90 90 <entry>AMD K8 processors with x86-64</entry>
Note:
See TracChangeset
for help on using the changeset viewer.