Hi All,
I am hoping to use GCC to compile code for the TMS570LS3137 or TMS570LS43x processor which are big endian Cortex-R4 and Cortex-R5F respectively.
I have found some old instructions here: TMS570LS and GCC compiler - Hercules safety microcontrollers forum - Hercules ︎ safety microcontrollers - TI E2E support forums. I will attempt to follow them today.
Can anyone provide some explanation of how to build GCC including the libraries for big endian? Is there a recent, pre-build set of tools that support these processors?
Thanks!
You must compile everything with option -mbig-endian; however, if the big endian libraries are not present in the toolchain, then the linker will fail due to the built-in libraries being incompatible with the compiled code.