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.

Compiler/TMS570LC4357: TMS570LC4357 build using GNU v7.2.1 compiler

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software: TI C/C++ Compiler

Hello,

 

We are using TMS570LC4357 for our product development. We use CCS v9.0.1 for SW development and debugging. Since now, we’ve used TI compiler v18.12.3.LTS to build the software.

We’re evaluating now usage of GCC compiler. I’ve searched this forum and find out that TI guy (Chester Gillon) have been able to create runnable build for TMS570LC4357 using GNU v7.2.1.

https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/907975

I’ve downloaded compiler from the link in ticket and set it up in CCS.

Right now, I’ve got the build compiled and linked, but it doesn’t run on the target. I’ve used the same compiler and linker options as are used in example project that is mentioned in the ticket. I’ve used libstdc++.a as runtime support library, since our code is C++. For building of halcogen .asm files (created for TI assembler), I’ve used compiler flag “-mccs” to get it compiled with GCC compiler.

I suspect I haven’t written linker script for GNU linker correctly since I’m not familiar with syntax. Can you please help me to re-write our TI Linker script to GNU linker format? Our TI linker script is attached.

Our TI linker script is attached.

 

Thank you very much for support,

Radek

0753.sys_linker.cmd.txt