source: BOOK/temp-system/common/check.xml@ dd1db761

systemd
Last change on this file since dd1db761 was 7cd7f99, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • 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<sect1 id="ch-temp-system-check" role="wrap">
9 <?dbhtml filename="check.html"?>
10
11 <title>Check-&check-version;</title>
12
13 <indexterm zone="ch-temp-system-check">
14 <primary sortas="a-Check">Check</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Check package is a unit testing framework for C.</para>
21
22 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of Check</title>
26
27 <para os="a">We will install Check into
28 <filename class="directory">/tools</filename> to satisfy a dependency
29 on it for Kbd and Libpipeline in the final system.</para>
30
31 <para os="c">Prepare Check for compilation:</para>
32
33<screen os="d"><userinput>./configure \
34 --prefix=/tools \
35 --build=${CLFS_HOST} \
36 --host=${CLFS_TARGET}</userinput></screen>
37
38 <para os="f">Build the package:</para>
39
40<screen os="g"><userinput>make</userinput></screen>
41
42 <para os="i">Install the package:</para>
43
44<screen os="j"><userinput>make install</userinput></screen>
45
46 </sect2>
47
48 <sect2 id="contents-check" role="content">
49 <title>Contents of Check</title>
50
51 <segmentedlist>
52 <segtitle>Installed program</segtitle>
53 <segtitle>Installed library</segtitle>
54
55 <seglistitem>
56 <seg>checkmk</seg>
57 <seg>libcheck.{a,so}</seg>
58 </seglistitem>
59 </segmentedlist>
60
61 <variablelist>
62 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
63 <?dbfo list-presentation="list"?>
64 <?dbhtml list-presentation="table"?>
65
66 <varlistentry id="checkmk">
67 <term><command>checkmk</command></term>
68 <listitem>
69 <para>Awk script for generating C unit tests for use with the C the
70 Check unit testing framework</para>
71 <indexterm zone="ch-temp-system-check checkmk">
72 <primary sortas="b-check">checkmk</primary>
73 </indexterm>
74 </listitem>
75 </varlistentry>
76
77 <varlistentry id="libcheck">
78 <term><filename class="libraryfile">libcheck.{a,so}</filename></term>
79 <listitem>
80 <para>Contains functions that allow Check to be called from a test
81 program</para>
82 <indexterm zone="ch-temp-system-check libcheck">
83 <primary sortas="c-libcheck">libcheck.{a,so}</primary>
84 </indexterm>
85 </listitem>
86 </varlistentry>
87
88 </variablelist>
89
90 </sect2>
91
92</sect1>
Note: See TracBrowser for help on using the repository browser.