source: clfs-embedded/BOOK/cross-tools/common/libc.xml@ 1a129f8

Last change on this file since 1a129f8 was fa71d19, checked in by Andrew Bradford <andrew@…>, 11 years ago

libc: Remove --enable-debug

Not needed.

  • Property mode set to 100644
File size: 4.4 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<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">Configure the package:</para>
32
33<screen os="i"><userinput>CC=${CLFS_TARGET}-gcc ./configure \
34 --prefix=/ \
35 --target=${CLFS_TARGET}</userinput></screen>
36
37 <para os="h">Compile the package:</para>
38
39<screen os="i"><userinput>CC=${CLFS_TARGET}-gcc make</userinput></screen>
40
41 <para os="l">Install the package:</para>
42
43<screen os="j"><userinput>DESTDIR=${CLFS}/cross-tools/${CLFS_TARGET} make install</userinput></screen>
44
45 </sect2>
46
47 <sect2 id="contents-musl-libc" role="content">
48 <title>Contents of musl-libc</title>
49
50 <segmentedlist>
51 <segtitle>Installed Programs</segtitle>
52 <segtitle>Installed Libraries</segtitle>
53 <segtitle>Installed Headers</segtitle>
54 <seglistitem>
55 <seg>ld-musl-libc.so.0</seg>
56 <seg> libc.so.0, libcrypt.so.0, libdl.so.0, libm.so.0, libpthread.so.0,
57 librt.so.0</seg>
58 <seg>To be written...</seg>
59 </seglistitem>
60 </segmentedlist>
61
62 <variablelist>
63 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
64 <?dbfo list-presentation="list"?>
65 <?dbhtml list-presentation="table"?>
66
67 <varlistentry id="ld-musl-libc">
68 <term><command>ld-musl-libc</command></term>
69 <listitem>
70 <para>The musl-libc dynamic linker / loader</para>
71 <indexterm zone="ch-cross-tools-libc ld-musl-libc">
72 <primary sortas="b-ld-musl-libc">ld-musl-libc</primary>
73 </indexterm>
74 </listitem>
75 </varlistentry>
76
77 <varlistentry id="libc">
78 <term><filename class="libraryfile">libc</filename></term>
79 <listitem>
80 <para>The C library</para>
81 <indexterm zone="ch-cross-tools-libc libc">
82 <primary sortas="c-libc">libc</primary>
83 </indexterm>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry id="libcrypt">
88 <term><filename class="libraryfile">libcrypt</filename></term>
89 <listitem>
90 <para>The cryptographic library</para>
91 <indexterm zone="ch-cross-tools-libc libcrypt">
92 <primary sortas="c-libcrypt">libcrypt</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 <varlistentry id="libdl">
98 <term><filename class="libraryfile">libdl</filename></term>
99 <listitem>
100 <para>The musl-libc dynamic linker / loader library</para>
101 <indexterm zone="ch-cross-tools-libc libdl">
102 <primary sortas="c-libdl">libdl</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="libm">
108 <term><filename class="libraryfile">libm</filename></term>
109 <listitem>
110 <para>The math library</para>
111 <indexterm zone="ch-cross-tools-libc libm">
112 <primary sortas="c-libm">libm</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="libpthread">
118 <term><filename class="libraryfile">libpthread</filename></term>
119 <listitem>
120 <para>The POSIX thread library</para>
121 <indexterm zone="ch-cross-tools-libc libpthread">
122 <primary sortas="c-libpthread">libpthread</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="librt">
128 <term><filename class="libraryfile">librt</filename></term>
129 <listitem>
130 <para>The clock and timer library</para>
131 <indexterm zone="ch-cross-tools-libc librt">
132 <primary sortas="c-librt">librt</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 </variablelist>
138 </sect2>
139</sect1>
Note: See TracBrowser for help on using the repository browser.