Hi @henrique.tx
Thanks for this information,
I followed this article to use the GNU Makefiles and CMake with GCC for compiling.
I tried to compile the helloword example, but when I run the build_all.sh script, I got this message: -bash: ./build_all.sh: /bin/sh^M: bad interpreter: No such file or directory
After using the GNU Makefiles and CMake with GCC the compilation succeeded and I obtained the hello_world.elf file after running the ./build_all.sh script, but when I connect to the board and trying to run the file I obtained a Segmentation fault message (the same thing when executing the pre-compiled file Index of /Colibri/FreeRTOS/Binaries)
Do I need to do those steps:
and when I compiled a hello_word example using armv7at2hf-neon-angstrom-linux-gnueabi compiler (using the two ways command line and eclipse), it work correctly, but I didn’t got the same information about the output file:
Using build_all.sh script: root@colibri-imx7-emmc-14866722:~# file hello_world.elf hello_world.elf: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped
Using armv7at2hf-neon-angstrom-linux-gnueabi: (which work correctly) root@colibri-imx7-emmc-14866722:~# file helloARM helloARM: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.1.10, BuildID[sha1]=ae85ee572be0790f6b41d00249bc4f6faa71f60f, with debug_info, not stripped