2019.1 FSBL Command Line Option Decode Example: aarch64-none-elf-gcc ... "../src/xfsbl_main.c"


This post shows how to decode what each command-line option used in aarch64-none-elf-gcc -DARMA53_64 -Wall -O0 -g3 -I"/home/demo/xsdk/fsblws/ZCU102_hw_platform" -c -fmessage-length=0 -MT"src/xfsbl_main.o" -Og -I../../fsbldebug_bsp/psu_cortexa53_0/include -MMD -MP -MF"src/xfsbl_main.d" -MT"src/xfsbl_main.o" -o "src/xfsbl_main.o" "../src/xfsbl_main.c" means. It also lists links to resources for related command line options. It also lists where to find aarch64-none-elf-gcc in the Vivado/SDK install and how to find the version so that the correct documentation can be consulted.


Command Line


aarch64-none-elf-gcc -DARMA53_64 -Wall -O0 -g3 -I"/home/demo/xsdk/fsblws/ZCU102_hw_platform" -c -fmessage-length=0 -MT"src/xfsbl_main.o" -Og -I../../fsbldebug_bsp/psu_cortexa53_0/include -MMD -MP -MF"src/xfsbl_main.d" -MT"src/xfsbl_main.o" -o "src/xfsbl_main.o" "../src/xfsbl_main.c"


Expanded


aarch64-none-elf-gcc

-DARMA53_64 -Wall

-O0

-g3

-I"/home/demo/xsdk/fsblws/ZCU102_hw_platform"

-c

-fmessage-length=0

-MT"src/xfsbl_main.o"

-Og

-I../../fsbldebug_bsp/psu_cortexa53_0/include

-MMD

-MP

-MF"src/xfsbl_main.d"

-MT"src/xfsbl_main.o"

-o "src/xfsbl_main.o"

"../src/xfsbl_main.c"


Table


Find the Version of aarch64-none-elf-gcc in the SDK install inside Vivado


Step #1: Run:

find /tools/Xilinx/ -name aarch64-none-elf-gcc


You should see:

/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/aarch64-none-elf-gcc


Step #2: Run:

/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/aarch64-none-elf-gcc --version


You should see:

aarch64-none-elf-gcc (GCC) 8.2.0

Copyright (C) 2018 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Resources

GCC 8.4.0 Option Summary [link]

GCC 8.4.0 Option Index [link]

GCC 8.4.0 AArch64 Options [link]


References

  • HTML Tables generator [link]

  • The Xilinx graphic is from [link]



13 views0 comments

©2018 by Centennial Software Solutions LLC. Proudly created with Wix.com