Skip to content
sybreon edited this page Feb 23, 2012 · 8 revisions

These instructions are for the 12.02 release but should be equally applicable for later versions.

On ubuntu, install some dev packages first

$ sudo apt-get install libgmp3-dev libmpfr-dev libmpc-dev

Download the latest tagged release and unzip it.

$ tar -zxf aeste-gcc-12.02-0-g2a70675.tar.gz

Then, bootstrap GCC using the following commands:

$ export PATH=$PATH:/usr/local/aeste/bin/
$ cd aeste-gcc-f6d7b3b/
$ mkdir build/
$ cd build/
$ ../configure --target=microblaze --program-prefix=ae32- --prefix=/usr/local/aeste --without-headers --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++
$ make all-gcc
$ make install-gcc

Next, build the newlib libraries. Please refer to the newlib port wiki to see how this is done.

Finally, rebuild GCC using the following commands:

$ cd aeste-gcc-f6d7b3b/build/
$ rm -rf *
$ ../configure --target=microblaze --prefix=/usr/local/aeste --program-prefix=ae32- --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-shared --disable-libssp
$ make all
$ make install

Time enough to grab some lunch.

Clone this wiki locally