source: archive/libffi.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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