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-7.4 platform.

Package Information

Additional Downloads

libffi Dependencies


DejaGnu-1.5.1 (required to run the testsuite)

User Notes:

Installation of libffi

Install libffi by running the following commands:

patch -Np1 -i ../libffi-3.0.13-includedir-1.patch &&
./configure --prefix=/usr --disable-static &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

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


Installed Programs: None
Installed Library:
Installed Directories: None

Short Descriptions

contains the libffi API functions.

Last updated on 2013-08-17 21:37:04 -0700