libffi
1.1、libffi简介
short for:Foreign Function Interface library
是什么 ?:an interface that allows code written in one language to call code written in another language.
开发语言:C
官方主页:https://sourceware.org/libffi
源码仓库:https://github.com/libffi/libffi
1.2、通过包管理器安装libffi
操作系统包管理器安装命令
Allvcpkg
vcpkg install libffi
vcpkg install libffi:x64-osx
vcpkg install libffi:x64-linux
vcpkg install libffi:x64-windows
macOSHomeBrewbrew install libffi
GNU/LinuxHomeBrewbrew install libffi
aptsudo apt-get install -y libffi6 libffi-dev
CentOSyumsudo yum install -y libffi libffi-devel
dnfsudo dnf install -y libffi libffi-devel
openSUSEzyppersudo zypper install -y libffi-devel
Alpine Linuxapksudo apk add libffi

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm libffi
Gentoo LinuxPortagesudo emerge libffi
1.3、通过编译源码安装libffi
1.4、libffi中包含的头文件
1.5、libffi中包含的库文件
  • libffi.{a | so | dylib}