Microblaze GNU Tools

Microblaze GNU Tools Description

The MicroBlaze toolchain contains all of the compiler and support libraries you need to build executables and libraries for a MicroBlaze architecture. Since the MicroBlaze processor is configurable for optimization (variants), both the compiler and support libraries can be configured to make use of architecture specific code through a variants configuration file (see further explaination on how to reconfigure this within the readme file referenced below).

Note the addition of Little Endian tools to support MicroBlaze Little Endian Linux.

Binary Distribution

Pre-built binaries for the MicroBlaze Big Endian cross compiler for Linux running on an Intel x86 system can be found in the xldk/microblaze_v1.0 repository of the Xilinx Git Server. The tools contain support for C / C++ with both static and shared objects libraries.

Pre-built binaries for the MicroBlaze Little Endian cross compiler for Linux running on an Intel x86 system can be found in the xldk/microblaze_v1.0_le repository of the Xilinx Git Server. The tools contain support for C / C++ with both static and shared objects libraries.

Big Endian Tools And Ramdisk Image

Getting The Big Endian Tools And Ramdisk Image

The following command can be used to get the tools and ramdisk images from the Xilinx GIT server.

bash> git clone git://git.xilinx.com/xldk/microblaze_v1.0.git

Configuration Of The Big Endian Tools

Uncompress the tar file and place the microblaze-unknown-linux-gnu directory on your filesystem as shown in the following command.

tar jxpf mb_gnu_tools_bin.tar.bz

Set the path to access the tools and setup the environment variable for the Linux kernel build process with the following commands.

export PATH=<dir where tools are untarred>/microblaze-unknown-linux-gnu/bin:$PATH
export CROSS_COMPILE=microblaze-unknown-linux-gnu-

Little Endian Tools And Ramdisk Image

Getting The Little Endian Tools And Ramdisk Image

The following command can be used to get the Little Endian tools and ramdisk images from the Xilinx GIT server.

bash> git clone git://git.xilinx.com/xldk/microblaze_v1.0_le.git

Configuration Of The Little Endian Tools

Note that "el" in the tools names which is standard for Little Endian Linux tools.

Uncompress the tar file and place the microblaze-unknown-linux-gnu directory on your filesystem as shown in the following command.

tar xvzf microblazeel-unknown-linux-gnu.tar.gz

Set the path to access the tools and setup the environment variable for the Linux kernel build process with the following commands.

export PATH=<dir where tools are untarred>/microblazeel-unknown-linux-gnu/bin:$PATH
export CROSS_COMPILE=microblazeel-unknown-linux-gnu-

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License