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.

TMS570LS and GCC compiler

Other Parts Discussed in Thread: HALCOGEN, TMS570LC4357, TMDX570LC43HDK, TMS570LS3137

Hello people,

I am trying to create a new project using the GCC compiler. I generate the code using HalCoGen and I select the Linaro compiler in Code Composer Studio. I use the flags that are necessary for my processor:

  • -mcpu=cortex-r4f -mtune=cortex-r4f -march=armv7-r -marm -mfloat-abi=softfp -mfpu=vfpv3-d16

and the flag -mbig-endian for big endianess. I get some linker errors like:

  • c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib\libc.a(lib_a-__atexit.o): compiled for a little endian system and target is big endian Test C/C++ Problem.

Do you have any suggestions?

I attach my project. Thank you in advance. :-)