ubench speed test results

Jeremy Fowler jfowler at westrope.com
Thu Nov 14 16:01:57 CST 2002


> NOTE:  A simple ./configure ; make did not work for me.  gcc complained
> about several of the switches used:
>
> [root at berryton ubench-0.32]# ./configure
> ====  Creating Makefile for Linux alpha
> ====  Now type make to compile ubench for Linux
> [root at berryton ubench-0.32]# make
> gcc -O2 -Wall -malign-loops=2 -malign-jumps=2 -malign-functions=2 -I. -c
> signals.c
> cc1: Invalid option `align-loops=2'
> cc1: Invalid option `align-jumps=2'
> cc1: Invalid option `align-functions=2'
> make: *** [signals.o] Error 1
>
> So, I manually edited the make file, changed -O2 to -O3, and axed the
> -m* options...

Your probably using GNU GCC >= 3.0, which changed those -malign-x optimizations
to -falign-x options instead. So go thru and change the -m to -f.

You can read more about it here:
http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Optimize-Options.html#Optimize%20Optio
ns

Specific DEC Alpha Optimizations:
http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/DEC-Alpha-Options.html#DEC%20Alpha%20O
ptions




More information about the Kclug mailing list