Some might've noticed that the check-cpu
script in
the MySQL
BUILD
directory does not always succeed in detecting
the right processor:
roland@roland-laptop:/opt/mysql/5.1/bitkeeper/BUILD$ ./check-cpu
BUILD/check-cpu: Oops, could not find out what kind of cpu this machine is using.
When you dig a little deeper into that script, you will notice
that the name of you particular processor (in my case: Intel(R)
Core(TM)2 CPU T5600 @ 1.83GHz) is indeed not there and thus not
checked. Finally you may find that the model and name of your
processor are passed to the gcc
compiler.
As far as I cans see the information is used to set the values of
the --mtune
and --march
compiler
options. What those are? Hehe! Ok, here's a partial result from
man gcc
:
…