| 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-libc" role="wrap">
|
|---|
| 9 | <?dbhtml filename="libc.html"?>
|
|---|
| 10 |
|
|---|
| 11 | <title>musl-libc-&musl-libc-version;</title>
|
|---|
| 12 |
|
|---|
| 13 | <indexterm zone="ch-cross-tools-libc">
|
|---|
| 14 | <primary sortas="a-libc">musl-libc</primary>
|
|---|
| 15 | <secondary>cross tools</secondary>
|
|---|
| 16 | </indexterm>
|
|---|
| 17 |
|
|---|
| 18 | <sect2 role="package">
|
|---|
| 19 | <title/>
|
|---|
| 20 |
|
|---|
| 21 | <para>The musl-libc package contains the main C library. This library provides
|
|---|
| 22 | the basic routines for allocating memory, searching directories, opening and
|
|---|
| 23 | closing files, reading and writing files, string handling, pattern matching,
|
|---|
| 24 | arithmetic, and so on.</para>
|
|---|
| 25 |
|
|---|
| 26 | </sect2>
|
|---|
| 27 |
|
|---|
| 28 | <sect2 role="installation">
|
|---|
| 29 | <title>Installation of musl-libc</title>
|
|---|
| 30 |
|
|---|
| 31 | <para os="h">Compile the package:</para>
|
|---|
| 32 |
|
|---|
| 33 | <screen os="i"><userinput>CC=${CLFS_TARGET}-gcc make \
|
|---|
| 34 | --enable-debug</userinput></screen>
|
|---|
| 35 |
|
|---|
| 36 | <para os="l">Install the package:</para>
|
|---|
| 37 |
|
|---|
| 38 | <screen os="j"><userinput>make PREFIX=${CLFS} install</userinput></screen>
|
|---|
| 39 |
|
|---|
| 40 | </sect2>
|
|---|
| 41 |
|
|---|
| 42 | <sect2 id="contents-musl-libc" role="content">
|
|---|
| 43 | <title>Contents of musl-libc</title>
|
|---|
| 44 |
|
|---|
| 45 | <segmentedlist>
|
|---|
| 46 | <segtitle>Installed Programs</segtitle>
|
|---|
| 47 | <segtitle>Installed Libraries</segtitle>
|
|---|
| 48 | <segtitle>Installed Headers</segtitle>
|
|---|
| 49 | <seglistitem>
|
|---|
| 50 | <seg>ld-musl-libc.so.0</seg>
|
|---|
| 51 | <seg> libc.so.0, libcrypt.so.0, libdl.so.0, libm.so.0, libpthread.so.0,
|
|---|
| 52 | librt.so.0</seg>
|
|---|
| 53 | <seg>To be written...</seg>
|
|---|
| 54 | </seglistitem>
|
|---|
| 55 | </segmentedlist>
|
|---|
| 56 |
|
|---|
| 57 | <variablelist>
|
|---|
| 58 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|---|
| 59 | <?dbfo list-presentation="list"?>
|
|---|
| 60 | <?dbhtml list-presentation="table"?>
|
|---|
| 61 |
|
|---|
| 62 | <varlistentry id="ld-musl-libc">
|
|---|
| 63 | <term><command>ld-musl-libc</command></term>
|
|---|
| 64 | <listitem>
|
|---|
| 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>
|
|---|
| 68 | </indexterm>
|
|---|
| 69 | </listitem>
|
|---|
| 70 | </varlistentry>
|
|---|
| 71 |
|
|---|
| 72 | <varlistentry id="libc">
|
|---|
| 73 | <term><filename class="libraryfile">libc</filename></term>
|
|---|
| 74 | <listitem>
|
|---|
| 75 | <para>The C library</para>
|
|---|
| 76 | <indexterm zone="ch-cross-tools-libc libc">
|
|---|
| 77 | <primary sortas="c-libc">libc</primary>
|
|---|
| 78 | </indexterm>
|
|---|
| 79 | </listitem>
|
|---|
| 80 | </varlistentry>
|
|---|
| 81 |
|
|---|
| 82 | <varlistentry id="libcrypt">
|
|---|
| 83 | <term><filename class="libraryfile">libcrypt</filename></term>
|
|---|
| 84 | <listitem>
|
|---|
| 85 | <para>The cryptographic library</para>
|
|---|
| 86 | <indexterm zone="ch-cross-tools-libc libcrypt">
|
|---|
| 87 | <primary sortas="c-libcrypt">libcrypt</primary>
|
|---|
| 88 | </indexterm>
|
|---|
| 89 | </listitem>
|
|---|
| 90 | </varlistentry>
|
|---|
| 91 |
|
|---|
| 92 | <varlistentry id="libdl">
|
|---|
| 93 | <term><filename class="libraryfile">libdl</filename></term>
|
|---|
| 94 | <listitem>
|
|---|
| 95 | <para>The musl-libc dynamic linker / loader library</para>
|
|---|
| 96 | <indexterm zone="ch-cross-tools-libc libdl">
|
|---|
| 97 | <primary sortas="c-libdl">libdl</primary>
|
|---|
| 98 | </indexterm>
|
|---|
| 99 | </listitem>
|
|---|
| 100 | </varlistentry>
|
|---|
| 101 |
|
|---|
| 102 | <varlistentry id="libm">
|
|---|
| 103 | <term><filename class="libraryfile">libm</filename></term>
|
|---|
| 104 | <listitem>
|
|---|
| 105 | <para>The math library</para>
|
|---|
| 106 | <indexterm zone="ch-cross-tools-libc libm">
|
|---|
| 107 | <primary sortas="c-libm">libm</primary>
|
|---|
| 108 | </indexterm>
|
|---|
| 109 | </listitem>
|
|---|
| 110 | </varlistentry>
|
|---|
| 111 |
|
|---|
| 112 | <varlistentry id="libpthread">
|
|---|
| 113 | <term><filename class="libraryfile">libpthread</filename></term>
|
|---|
| 114 | <listitem>
|
|---|
| 115 | <para>The POSIX thread library</para>
|
|---|
| 116 | <indexterm zone="ch-cross-tools-libc libpthread">
|
|---|
| 117 | <primary sortas="c-libpthread">libpthread</primary>
|
|---|
| 118 | </indexterm>
|
|---|
| 119 | </listitem>
|
|---|
| 120 | </varlistentry>
|
|---|
| 121 |
|
|---|
| 122 | <varlistentry id="librt">
|
|---|
| 123 | <term><filename class="libraryfile">librt</filename></term>
|
|---|
| 124 | <listitem>
|
|---|
| 125 | <para>The clock and timer library</para>
|
|---|
| 126 | <indexterm zone="ch-cross-tools-libc librt">
|
|---|
| 127 | <primary sortas="c-librt">librt</primary>
|
|---|
| 128 | </indexterm>
|
|---|
| 129 | </listitem>
|
|---|
| 130 | </varlistentry>
|
|---|
| 131 |
|
|---|
| 132 | </variablelist>
|
|---|
| 133 | </sect2>
|
|---|
| 134 | </sect1>
|
|---|