devel/libffi 3.8.0 NetBSD
Foreign function interface
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
82345ea19a- License
- mit
- Categories
- devel
- Package size
- 40.2 KiB, 155.9 KiB installed
Description
The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run-time.
Some programs may not know at the time of compilation what arguments are to be passed to a function. For instance, an interpreter may be told at run-time about the number and types of arguments used to call a given function. Libffi can be used in such programs to provide a bridge from the interpreter program to compiled code.
Ffi stands for Foreign Function Interface. A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. The libffi library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. A layer must exist above libffi that handles type conversions for values passed between the two languages.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/libffi | 3.8.0 |
| FreeBSD | devel/libffi | 3.8.0 |
| OpenBSD | devel/libffi | 3.8.0 |
| DragonFly | devel/libffi | 3.4.6 |
| MidnightBSD | devel/libffi | 3.7.1 |
| HardenedBSD | devel/libffi | 3.8.0 |
| GhostBSD | devel/libffi | 3.8.0 |
| OPNsense | devel/libffi | 3.5.2 |
Install
Binary package:
pkgin install libffi
From pkgsrc:
cd /usr/pkgsrc/devel/libffi && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 3.8.0 |
| NetBSD 10.1 aarch64 | 3.5.2 |
| SmartOS / illumos x86_64 | 3.8.0 |
| macOS 15 arm64 | 3.8.0 |
Dependencies
Required by 74
- cad/nvc
- databases/elasticsearch
- devel/MoarVM
- devel/g-wrap
- devel/glib2
- devel/glib2-introspection
- devel/gnustep-base
- devel/gobject-introspection
- devel/hs-libffi
- devel/java-jna
- devel/lua-cffi
- devel/lua-gi
- devel/php-ffi
- devel/py-cffi
- devel/py-gobject3
- devel/py-llvmlite
- devel/py-pyvex
- devel/ruby-ffi
- devel/wayland
- devel/yosys
- lang/chezscheme
- lang/ecl
- lang/gforth
- lang/ghc910
- lang/ghc92
- lang/ghc94
- lang/ghc96
- lang/ghc98
- lang/gjs
- lang/guile20
- lang/guile22
- lang/guile30
- lang/jamvm
- lang/japhar
- lang/librep
- lang/micropython
- lang/nodejs
- lang/polyml
- lang/python27
- lang/python310
- lang/python311
- lang/python312
- lang/python313
- lang/python314
- lang/racket-textual
- lang/ruby33
- lang/ruby34
- lang/ruby40
- lang/sablevm
- lang/smalltalk
- lang/souffle
- lang/yabasic
- mail/thunderbird
- security/p11-kit
- wip/clic
- wip/gforth-git
- wip/gforth-snapshot
- wip/ghc7
- wip/gjs
- wip/gtk-server
- wip/jc
- wip/p5-Alien-FFI
- wip/p5-FFI-Platypus
- wip/pharo-vm
- wip/pharo-vm10
- wip/pharo-vm12
- wip/prusaslicer
- wip/sagittarius
- wip/spidermonkey24
- wip/spidermonkey31
- wip/yosys-dev
- www/firefox
- www/firefox140
- www/firefox153