El 2004-03-19 a las 11:51 +0100, Alejandro Ortega escribió:
Pues, macho, si tú lo dices, así será... Yo pongo siempre esas opciones, porque son las que me pone SuSE al compilar (creo que parcheé el gcc con no sé qué cosa y no recuerdo bien ahora si fue él quien me las puso o si fui yo...), y son exactamente las mismas que aparecían cuando compilaba el KDE a través del "konstruct". Pero, como siempre he dicho que no soy programador, pues a partir de ahora le pondré las que tú dices. Sí, señor.
`-mcpu=CPU-TYPE' Tune to CPU-TYPE everything applicable about the generated code, except for the ABI and the set of available instructions. The choices for CPU-TYPE are `i386', `i486', `i586', `i686', `pentium', `pentium-mmx', `pentiumpro', `pentium2', `pentium3', `pentium4', `k6', `k6-2', `k6-3', `athlon', `athlon-tbird', `athlon-4', `athlon-xp', `athlon-mp', `winchip-c6', `winchip2' and `c3'. While picking a specific CPU-TYPE will schedule things appropriately for that particular chip, the compiler will not generate any code that does not run on the i386 without the `-march=CPU-TYPE' option being used. `i586' is equivalent to `pentium' and `i686' is equivalent to `pentiumpro'. `k6' and `athlon' are the AMD chips as opposed to the Intel ones. `-march=CPU-TYPE' Generate instructions for the machine type CPU-TYPE. The choices for CPU-TYPE are the same as for `-mcpu'. Moreover, specifying `-march=CPU-TYPE' implies `-mcpu=CPU-TYPE'. Lo que hace suse, o hacía, era algo como optimizar para una cpu determinada, como el pentium, pero limitandose al juego de instrucciones del 386 o el 486, para que funcione en todas. -- Saludos Carlos Robinson