Building the MiBench benchmark suite for AVR32
MiBench is a free,
commercially representative embedded benchmark suite.
1. What you get after the build
You get binaries and data sets of the MiBench version 1 benchmark suite for AVR32/Newlib.Requirements
- A Linux host machine
- A GNU cross tool-chain: follow the instructions here
2. Get the material
Download that tarball. It contains all the necessary material (scripts and source codes) to compile the MiBench benchmark suite for AVR32.3. Uncompress the tarball
$ tar zxvf mibench-v1-source-v5.tar.gz
4. Build the benchmark suite
$ cd mibench-v1-source-v5
$ ./build.sh --target=avr32 --cross-compiler-prefix=${HOME}/crosstool-source-v5/avr32 --target-simulator="${HOME}/unisim-avr32emu-0.1/avr32emu/bin/unisim-avr32emu-0.1 -s enable-avr32-t2h-syscalls=1" all
$ ./build.sh --target=avr32 --cross-compiler-prefix=${HOME}/crosstool-source-v5/avr32 --target-simulator="${HOME}/unisim-avr32emu-0.1/avr32emu/bin/unisim-avr32emu-0.1 -s enable-avr32-t2h-syscalls=1" all
Adjust the arguments of the building script to your cross tool-chain installation.