libffi-3.2.1

Introduction to libffi

The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run time.

This package is known to build and work properly using an LFS-8.1 platform.

Package Information

libffi Dependencies

Optional

DejaGnu-1.6 (required to run the testsuite)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libffi

Installation of libffi

Install libffi by running the following commands:

sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
    -i include/Makefile.in &&

sed -e '/^includedir/ s/=.*$/=@includedir@/' \
    -e 's/^Cflags: -I${includedir}/Cflags:/' \
    -i libffi.pc.in        &&

./configure --prefix=/usr --disable-static &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed ... include/Makefile.in and sed ... libffi.pc.in: Makes the package install headers into the standardized /usr/include instead of /usr/lib/libffi-3.2.1/include..

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: None
Installed Library: libffi.so
Installed Directories: None

Short Descriptions

libffi.so

contains the libffi API functions.

Last updated on 2017-08-16 21:41:37 -0700