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).
Binary Distribution
Pre-built binaries for the MicroBlaze 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.
Getting The 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
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.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=mb-linux-





