Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
armcc 和 armclang 是嵌入式 C 和 C++ 代码的编译器。最近,armclang 作为替代编译器越来越受欢迎。
armcc 和 armclang 有什么区别?使用 armclang 有优势吗?
不同之处在于,如果你给两组不同的人同样的任务,比如“为这种语言实现编译器”或“根据这个蓝图建造房子”,你会期望什么。
使用任一编译器编译的程序的可观察行为应该是相同的(并且通常是相同的),但最终程序如何实现可观察行为会有所不同。
您可以查看可执行文件的大小、汇编代码并进行性能测量(基准测试)以注意到这些差异 - 然后决定哪一个最适合您的需求。