We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 59553

PetaLinux 2013.10 - Can I Use A Cross-Compiler Other Than the Built-In CodeSourcery Tools


I would like to use a cross-compiler other than the default toolchain included with PetaLinux.  Is this possible?


Yes, this is possible.  In order to enable this, please set the following two environment variables:

EXTERN_COMPILER = The full path to the location of the cross-compiler toolchain (example: EXTERN_COMPILER=/opt/tools/cross-compiler/)

CROSS_COMPILE = the toolchain prefix for the cross-compiler toolchain (example: CROSS_COMPILE=my-tool-chain-linux-eabi-)

In order to disable the use of the external compiler, simply remove or rename these environment variables.  

Note: external compilers are not tested with PetaLinux and using them may result in unexpected/undesired behavior.

AR# 59553
日期 04/23/2014
状态 Active
Type 综合文章