GCC 4.0, 4.2 and LLVM ABI Compatibility

[亡魂溺海] 提交于 2019-11-29 07:28:18

Clang is ABI-compatible with code generated by gcc. Clang also includes experimental support for some newer Objective-C ABIs, but compiling for the newer ABI requires flags, and generated code can be mixed with GCC-generated code anyway.

A minor gotcha is that if you want to compile PowerPC code that will run on a G3, you must use GCC 4.0.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!