Hello,
We have recently changed compiler to ti-cgt-armllvm_1.3.1.LTS and it comes with default gmake build system. We have migrated the software to cmake due to project requirements. i have passed same options in cmake as of gmake. but observed that there is heap memory(.sysmem) getting added.
in gmake, linker option takes heap_size as 8k and same in cmake also but gmake doesnt contain heap memory in map file while cmake map file does. i understand that due to llibc.a memory.c file getting referenced in cmake which is creating heap.
-llibc.a option in linker means which libc.a file in compiler folder. i see there are multiple options available.
compiler\ti-cgt-armllvm_1.3.1.LTS\lib\libc.a or compiler\ti-cgt-armllvm_1.3.1.LTS\lib\armv7r-ti-none-eabi\c\libc.a.
currently i have added second option as library which seems to complete the build but creates heap. but if i add first option as library then build will fail due to unknown references.
Please help me identify which libc.a to include as library so that i can complete build without any heap just as gmake output. Please let me know if you need any further input from my end.
Thank you