Part Number:ARM-CGT
Hello,
I am right now working on ti_cgt_armllvm_2.1.3.LTS compiler.
there is a simple demo in this link https://software-dl.ti.com/codegen/docs/tiarmclang/compiler_tools_user_guide/compiler_manual/linker_description/04_linker_options/basic-options.html
tiarmclang file1.c.o file2.c.o -Wl,--map_file=a.map,however when I tried it can not recgonize this option, I changed it to tiarmclang file1.c.o file2.c.o -Wl,-ma, it works the file file is a.
1. why it is different from the document
2. does the linker support output the linker file to a specify path? I tried, it did not work. is there an example?
3. How to invoke the linker script with tiarmclang? is the linker command file similiar to the linker script? I try to invoke a gnu style linker script, seems the linker can not recgonize somesyntax, line number 56 report this issue: expecting output section, GROUP, or UNION instead of "=", how to define a symbol in the linker command file? Is there some example?
,
Ben Qin:
Hi,
I've post your question on e2e english forum and see if anyone knows.
,
Ben Qin:
hi, please check the reply in the link below:
ARM-CGT: ti_cgt_armllvm_2.1.3.LTS compiler – Arm-based microcontrollers forum – Arm-based microcontrollers – TI E2E support forums