Hello,
thank you really much for this forum/community! I'm trying to compile the following source code: https://github.com/j1nx/Amlogic-reff16-uboot
The reason why I'm compiling this sources are that I'm getting started with ARM devices. Especially I'm getting started with an Amlogic 8726-MX SoC which includes an ARM Cortex A9 with ARMv7 instruction set and a graphic chip ARM Mali 400-MP.
To compile the sources I did the following: 1. I changed into the directory with cd command from the sources /
2. I typed make m3_socket -> this command is going to compile the amlogic platform from board/amlogic the other board directories aren't needed.
The error I'm getting is the following: bin/sh: 1: arc-elf32-cpp: not found
I searched alot and can't find the arc-elf32-cpp compiler. I thought that I'm compiling software for ARM processors, but not for ARC processors. Is it true that ARC is also an processor architecture like ARM is an architecture? Or is it correct to compile for arc to get ARM binaries?
Regards,
Johannes
Hi Johannes,
I may will say a big mistake but it seems to me :elf32 is an old notation under Linux, associated to an 32bit Arch undefined, so it may be an x86...you can use it if you are in a full native mode only
One way to correct is to use a cross compile chain : arm-none-eabi clearly associated to an Arm 32bit
All depend on which arch you will work on in reality (native or not(QEMU for ex.))
Have some explains about on this linkhttp://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.subset.swdev.abi/index.htmlhttps://wiki.debian.org/X32Port
Thank you for your answer, I got now my U-Boot source code compiled, it's nearly 100% that inside my Amlogic 8726-MX SoC is also an ARC processor too.
I need now to focus on the mali drivers.