BSD-user-4-Linux: QEMU User Mode allowing to run FreeBSD binaries on Linux
11 days ago
- #Linux
- #BSD
- #QEMU
- The bsd-user-4-linux fork of QEMU ports BSD user-mode emulation to Linux.
- Documentation is available at https://www.qemu.org/documentation/.
- Based on Warner Losh's project: https://github.com/qemu-bsd-user/qemu-bsd-user.
- Supports compiling FreeBSD on Linux using native toolchain.
- Requires Ubuntu (tested on 24.04) and specific packages like libelf-dev, python3-pip, etc.
- Build instructions include cloning the repo, configuring, and using ninja.
- Usage involves running FreeBSD binaries with -L flag for library paths.
- Supports automatic binfmt handler registration for FreeBSD binaries.
- Pre-built Docker container available at GitHub Container Registry.
- Basic system tools work, including dynamic linking and networking.
- Missing features: GDB support, sysctl(name2oid) & friends.