目录

MacTux

MacTux is a compatibility layer that enables you to run Linux binaries on macOS.

🚧 INCOMPLETE PROJECT 🚧

Architecture Support

Only x86_64 is currently supported. Note that running MacTux on ARM Macs with Rosetta 2 is supported, too.

Building & Installing

See INSTALL.md for details.

Compatibility

Currently, we have tested:

  • musl-libc
  • glibc
  • GNU Coreutils
  • busybox
  • toybox
  • Opus Tools
  • SQLite 3
  • bash
  • dash
  • Python 3
  • TinyCC
  • OpenSSH Client
  • curl

We suggest you to run dynamically linked or static-pie binaries, due to macOS’s ASLR policy have not yet been solved completely.

Filesystem Hierarchy

We have our own VFS stack, so filesystem mounts are independent to the macOS filesystem. See tools/mkrootfs/fstab for details.

~/.mactux/rootfs is the emulated root directory. Currently a minimal Alpine Linux rootfs can be installed and work.

Multimedia Support

We plan to support multimedia APIs, like D-Bus, OSS, ALSA, X11, Wayland, etc.

Currently, we have a working (but naive) implementation of OSS audio output.

Roadmap

We currently prioritizes to implement:

  • Multi-thread support
  • Epoll support
  • sysfs support
关于

用于在 macOS 上运行 Linux 应用程序的兼容层。

548.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号