Thanks I shall have a go with that later !! dids
1. Yes 2. No 3. gcc -march=i686 ... or gcc -mcpu=i686
If you are compiling code with a configure script then use something like
CFLAGS="-O2 -march=i686" ./configure ... for C code, and CXXFLAGS="-O2 -march=i686" ./configure ... for C++ code
The difference between -mcpu and -march is that -mcpu optimises for the cputype given but runs on other cpus, -march optimises but doesn't guarantee to run on other cpus.
JDL
dids wrote:
[1] I'm just wondering if when you compile a program, GCC can optimise the code for use with your processor. [2] And if so, is it set to do this automatically ?
[3] If not, how and what would you put for a Pentium III ?
dids
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com