zig 构建
#106
Replies: 2 comments 6 replies
-
不要连接C库的情况下,就可以脱离C库,然后再指定对应的平台和架构,例如平台是freestanding,架构是x86,那么编译出来的东西就是可以在x86的裸机器上运行 |
Beta Was this translation helpful? Give feedback.
5 replies
-
我的观点是不要排斥c,c的缺点也就是缺少一定的安全检查,宏可能难以阅读,交叉编译苦难,包管理和构建系统混乱,抛开这些,c 可是一切操作系统的基石呢,还包括各式的嵌入式 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
构建自己的程序让他在不依赖c系库和工具链的情况下运行,可能讲的不是很清楚,见谅,
因为自己也才开始做比较底层的开发
Beta Was this translation helpful? Give feedback.
All reactions