Tech
[程序员] 通过定义一个内核接口层 OpenKAL,实现了 C++通用交叉编译/构建,可以在 Windows 上交叉编译 Linux 和 macos 程序 (其实更通用 在任意 OS 交叉构建到任意 OS 程序)
注: 任意是指在 macos/windows/linux 任意一个 交叉编译到 macos/windows/linux
openkal 通用内核接口规范: https://github.com/mcpplibs/openkal
构建工具: https://github.com/mcpp-community/mcpp
基于 openkal 交叉构建的具体示例: https://github.com/mcpp-community/mcpp/tree/main/examples/06-openkal-cross
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX