Tech
[分享创造] 在 macOS 上运行 Linux 程序,不用虚拟机或系统调用转译
最近做了个试验,通过在 macOS 上实现与 Linux ABI 下 glibc 兼容的库,通过运行时在加载阶段进行重定向实现。当然这种做法只要应用程序静态链接或者自己调用 sycall 就抓瞎了,所以基本上只能是玩具。
具体见
博客文章: https://blog.akinokae.de/zh-cn/p/magiclibc/
GitHub: https://github.com/AkinoKaede/magiclibc
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX