Archaic wrote:
march dictates what instruction sets to use. mtune tunes the code to run
on a given arch. setting mtune to something newer than march will allow
it to optimize to that level but without overriding the instruction set
dictated by march. If mtune is an older arch than march then that would
not do anything (assuming the compiler even allowed it), but mtune can
be a newer arch than march. So you get code optimized for pentium3
(which is a nice middle ground) but without any instructions not present
in the 486 instruction set.

So, in short, -march=i486 -mtune=pentium3 just as Alexander suggested? If that does what you said above, then it's fine with me. I'll have to go read up on this in a little more depth now...

--
JH


--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to