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 |
操作系统 | 包管理器 | 安装命令 |
---|---|---|
All | vcpkg | vcpkg install libffi vcpkg install libffi:x64-osx vcpkg install libffi:x64-linux vcpkg install libffi:x64-windows |
macOS | HomeBrew | brew install libffi |
GNU/Linux | HomeBrew | brew install libffi |
apt | sudo apt-get install -y libffi6 libffi-dev | |
CentOS | yum | sudo yum install -y libffi libffi-devel |
dnf | sudo dnf install -y libffi libffi-devel | |
openSUSE | zypper | sudo zypper install -y libffi-devel |
Alpine Linux | apk | sudo apk add libffi |
pacman | sudo pacman -Syyu --noconfirm | |
Gentoo Linux | Portage | sudo emerge libffi |