Libffi

From CBLFS
Jump to navigationJump to search
Download Source: ftp://sourceware.org/pub/libffi/libffi-3.1.tar.gz

Introduction to Libffi

Foreign Function Interface library. Provides a bridge between low-level compiled and high-level interpreted languages where the latter may not know the calling conventions of the former until runtime.

Project Homepage: http://sourceware.org/libffi/



Non-Multilib

Compile the package:

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

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Directories: /usr/lib{,32,64}/libffi-3.0.8
Installed Programs: none
Installed Libraries: libffi.{a,so}

Short Descriptions

libffi.{so,a} Contains the Foreign Function Interface library.