This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: locale.cpp takes ~300KB space

Part Number: AM2634


Build Environment for AM2634 project:

  • Code Composer Studio Version: 12.5.0.00007
  • ti-cgt-armllvm_3.2.0.LTS
  • mcu_plus_sdk_am263x_09_00_00_35

While inspecting the memory usage, I noticed the libc/locale code takes up ~300kB code space. If it is to deal with money/time/punctuation, I am looking for a way to reduce the memory footprint. Plain text English is good enough. Many thanks in advance.

/usr/local/bin/ti-ccs/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/lib/armv7r-ti-none-eabihf/libc++.a
locale.cpp.obj 257528 6392 1932