source: archive/libffi.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 4.7 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 <!ENTITY libffi-download-http "https://sourceware.org/ftp/libffi/libffi-&libffi-version;.tar.gz">
8 <!ENTITY libffi-download-ftp "ftp://sourceware.org/pub/libffi/libffi-&libffi-version;.tar.gz">
9 <!ENTITY libffi-md5sum "83b89587607e3eb65c70d361f13bab43">
10 <!ENTITY libffi-size "920 KB">
11 <!ENTITY libffi-buildsize "6.1 MB (additional 1.7 MB for the tests)">
12 <!ENTITY libffi-time "less than 0.1 SBU (additional 0.4 SBU for the tests)">
13]>
14
15<sect1 id="libffi" xreflabel="libffi-&libffi-version;">
16 <?dbhtml filename="libffi.html"?>
17
18
19 <title>libffi-&libffi-version;</title>
20
21 <indexterm zone="libffi">
22 <primary sortas="a-libffi">libffi</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libffi</title>
27
28 <para>
29 The <application>libffi</application> library provides a portable,
30 high level programming interface to various calling conventions. This
31 allows a programmer to call any function specified by a call interface
32 description at run time.
33 </para>
34
35 &lfs81_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&libffi-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&libffi-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &libffi-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &libffi-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &libffi-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &libffi-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">libffi Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional">
75 <xref linkend="dejagnu"/> (required to run the testsuite)
76 </para>
77
78 <para condition="html" role="usernotes">
79 User Notes: <ulink url="&blfs-wiki;/libffi"/>
80 </para>
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of libffi</title>
85
86 <para>
87 Install <application>libffi</application> by running the following
88 commands:
89 </para>
90
91<screen><userinput>sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
92 -i include/Makefile.in &amp;&amp;
93
94sed -e '/^includedir/ s/=.*$/=@includedir@/' \
95 -e 's/^Cflags: -I${includedir}/Cflags:/' \
96 -i libffi.pc.in &amp;&amp;
97
98./configure --prefix=/usr --disable-static &amp;&amp;
99make</userinput></screen>
100
101 <para>
102 To test the results, issue: <command>make check</command>.
103 </para>
104
105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
108
109<screen role="root"><userinput>make install</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <para><command>sed ... include/Makefile.in</command> and
117 <command>sed ... libffi.pc.in</command>: Makes the package install headers
118 into the standardized <filename class="directory">/usr/include</filename>
119 instead of
120 <filename class="directory">/usr/lib/libffi-&libffi-version;/include.</filename>.</para>
121
122 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
123 href="../../xincludes/static-libraries.xml"/>
124
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Library</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>
137 None
138 </seg>
139 <seg>
140 libffi.so
141 </seg>
142 <seg>
143 None
144 </seg>
145 </seglistitem>
146 </segmentedlist>
147
148 <variablelist>
149 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
150 <?dbfo list-presentation="list"?>
151 <?dbhtml list-presentation="table"?>
152
153 <varlistentry id="libffi-lib">
154 <term><filename class="libraryfile">libffi.so</filename></term>
155 <listitem>
156 <para>
157 contains the <application>libffi</application> API
158 functions.
159 </para>
160 <indexterm zone="libffi libffi-lib">
161 <primary sortas="c-libffi">libffi.so</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 </variablelist>
167
168 </sect2>
169
170</sect1>
Note: See TracBrowser for help on using the repository browser.