The C Compiler Benchmark (C) 1998 - 2003 Clifford Wolf ======================== This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. A copy of the GNU General Public License can be found at Documentation/COPYING. The C Compiler Benchmark builds a simple benchmark program using various compiler options and tries to find the combination of options which results in the best performance on your system. Note: Some compiler options are very application specific and may slow down some applications - even if this benchmark runs faster with (or without) this options. This program can help you finding the optimal compiler options for your system - but it's no replacement for hand-testing some stuff. Warning: Some compiler options like -fomit-frame-pointers can break applications which do depend on special compiler behavior. Use them on your own risk and read the compiler documentation if you are not sure about the meaning of some options. Using the C Compiler Benchmark ============================== Simply type './ccbench -new gcc' and let the benchmark run. Read the ccbench script for details on how to add additional compiler options to the benchmark or how to hand-tune what the benchmark is doing.