Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: How to remove unused functions with armclang?

$
0
0
Obviously, the option --freedback for armcc doesn't work. But setting -flto to compiler controls or linker controls (or checking the Link-time optimization checkbox) shows this error: error: use of LTO is disallowed in this variant of ARM Compiler And that seems strange since this article is dated 2015 - https://community.arm.com/tools/b/blog/posts/link-time-optimization-in-arm-compiler-6 - and I'm using Keil 5.24.1 two years later. Is there another way to do it?

Viewing all articles
Browse latest Browse all 3049

Trending Articles