Hi...I have some source files, i want to generate "elf" file for arm V8,A53 in AARCH 32 mode using command window in windows. I already installed the tool chain(Arm-none-eabi V6) can you tell me what are the commands to build. Or where can i get those commands?Thanks for the helpRana
As Cortex-A53 is Armv8-A CPU, please use the latest GCC toolchain if you want. arm-none-eabi v6 may be a bit old.
- https://www.linaro.org/downloads/
- http://releases.linaro.org/components/toolchain/binaries/latest/
Typically, the commands for aarch32 can be:
arm-elf-gcc -c app.c -o app.o
arm-elf-ld -T text app.o -o app.elf
For bin file generation
arm-none-eabi-objcopy -O binary app.elf app.bin
Thank you,
Rana.