Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Many software items, such as Linux, use the environment variable CROSS_COMPILE, to invoke the cross compiler that is used to build it (SDK must be installed). Also the $PATH environment variable has to be extended to find the newly installed tools.
Code Block
themeMidnight
bash$ export CROSS_COMPILE=<x-tool prefix>
bash$ source <Xilinx Tools installation directory>/ISE_DS/settings64.sh # use settings32.sh on 32-bit operating systems

The Xilinx tools provide the following cross toolchains:
Target Architecturex-tool prefix
Zynq-7000 (CodeSourcery - soft float)arm-xilinx-linux-gnueabi-
Zynq-7000 (Linaro - hard float)arm-linux-gnueabihf-
Zynq UltraScale+ MPSoC (ZynqMP) / Versalaarch64-linux-gnu-
Microblaze little endianmicroblazeel-xilinx-linux-gnu-
Microblaze big endianmicroblaze-xilinx-linux-gnu-
PowerPCpowerpc-eabi-

Next Step