We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Experts,
Does arm eabi gnu-linux supports the compilation for v8 architecture (both baremetal and application) or specific gcc tools needs to be used for the cross compilation ?
Regards,
Techguyz
Hello,
You will need an AArch64 cross compiler for ARMv8-A AArch64 Linux applications and baremetal code.
Linaro host the required sources for GCC here, or you can download their prebuilt binaries: aarch64-linux-gnu (for Linux apps) | aarch64-elf (for bare-metal)
(Note that the 'aarch64-elf' cross compiler is named 'aarch64-none-elf' in the documentation).
I hope that helps.
Hello Ash,
it looks like all compilers are big endian.
Is the big endian standard for AArch64?
Best regards,
Yasuhiko Koumoto.
Hi,
The compilers I linked are little-endian (at least, they should be).
See this page for a list of all cross compilers hosted by Linaro. The ones with 'be' in the names are the big-endian ones, whereas the ones I linked were little-endian.
Ash.