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.
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:
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. :-)
8713.Test.zip
Default GCC multilib don't contain version for ARM big-endian.
You need apply this patch answers.launchpad.net/gcc-arm-embedded/+question/263922 to this GCC compiler version launchpad.net/gcc-arm-embedded
OK, I can provide GCC binaries for Win with patch big-endian multilibs.
https://mega.co.nz/#!rAREiaia!MsyiYMMvVLc3xjayp_8om4wiPnHfE2d8Wn6tg_OGzZI
It contain patch for big endian and this patch https://answers.launchpad.net/gcc-arm-embedded/+question/263872
We don't use CSS. Just Gcc+make for better flexibility to autogenerate some C files.
We are using it with TMS570LC4357, but it is no demo project available yet.
Hi
I use these flags and get error:
/ld.exe: unrecognised emulation mode: big-endian Supported emulations: armelf
Can you give me some suggestion?
Regards
jian
Hi,
I am unable to get the GCC binaries for Big Endian multi libraries.
Can you please share the new location for copying the binaries?
You don't need any modifications. Just set correct MCU profile.
For EX here is profile for TMS570LS3137:
-march=armv7-r -mbig-endian -mfloat-abi=hard -mfpu=vfpv3-d16