A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « LibFFI 64-bit | HOME | 7zip CLI » |
Name: LibFFI 32-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 32-bit for install into the build root, run the following commands:
make distclean
CC="gcc -m32" CXX="g++ -m32" \
./configure --prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--host=i686-pc-linux-gnu \
--disable-static \
--with-gcc-arch=i686
To compile LibFFI 32-bit, run the following command:
make
Finally, to install LibFFI 32-bit into the build tree, run the following commands:
make DESTDIR=$PWD/DESTDIR install
rm -fv DESTDIR/usr/lib/libffi.la
cp -Rv DESTDIR/usr/lib/* /usr/lib/
See the contents section of the 64-bit build of the LibFFI 32-bit for details.
| Navigation | ||
|---|---|---|
| « LibFFI 64-bit | HOME | 7zip CLI » |