On Thu, 2019-11-07 at 21:31 +0000, Jozef Lawrynowicz wrote:
> When building small programs for MSP430, the impact of the unused
> functions pulled in from the CRT libraries is quite noticeable. Most of these
> relates to feature that will never be used for MSP430 (Transactional memory,
> supporting shared objects and dynamic linking), or rarely used (exception
> handling).

There's a magic switch, which does the business, at least for me, most
of the time:


If you're trying to bring down the executable size as much as possible,
but don't use -flto, I think something is wrong.


Reply via email to