Run Unixbench Benchmark: Difference between revisions

From Leo's Notes
This page was last edited on 25 November 2014, at 20:58.
No edit summary
Line 14: Line 14:


=== Issues ===
=== Issues ===
For newer versions of gcc (>= 4.8), you may get the following error:
If you run this under Qemu, you might get:


<syntaxhighlight lang="text">
<syntaxhighlight lang="text">

Revision as of 20:58, 25 November 2014

Unixbench is a benchmark program for unix based systems. For more information, take a look at https://code.google.com/p/byte-unixbench/


Linux

On a clean installation of CentOS (or any other RH derivative), run the following code:

yum install -y mesa-libGL-devel libXext-devel libX11-devel perl-Time-HiRes make gcc
wget https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
tar -xzf UnixBench5.1.3.tgz
cd UnixBench
./Run

Issues

If you run this under Qemu, you might get:

gcc: error: missing argument to ‘-march=’
make: *** [pgms/arithoh] Error 1

You will need to add an extra option to the Makefile:

 -march=native