A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « ElfUtils 32-bit | HOME | LibFFI 32-bit » |
Name: LibFFI 64-bit
Summary: A foreign function interface library
License: MIT
Version: 3.5.2
URL: https://github.com/libffi/libffi/releases/download/v3.5.2/libffi-3.5.2.tar.gz
Average Build Time: 1.7 SBU
Used Install Space: 168 KiB
To configure LibFFI 64-bit for install into the build root, run the following command:
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--disable-static \
--with-gcc-arch=x86-64-v2
To compile LibFFI 64-bit, run the following command:
make
Next, run the test suite:
make check
Finally, to install LibFFI 64-bit into the build tree, run the following commands:
make install
rm -fv /usr/lib64/libffi.la
NOTE: Do not delete the unpacked sources after build.
| Contents | |
|---|---|
| Installed Libraries | libffi.so |
| Navigation | ||
|---|---|---|
| « ElfUtils 32-bit | HOME | LibFFI 32-bit » |