LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i386 RPM's in an i686 machine? (https://www.linuxquestions.org/questions/linux-newbie-8/i386-rpms-in-an-i686-machine-85356/)

snatale1 08-24-2003 11:39 PM

i386 RPM's in an i686 machine?
 
I'm running RH9 in the RHN update it auto subscribed me to the i386 channel and from what i've been seeing most RPM's for RH are i386 but with an i686 machine am I not getting everything I could? If I read another thread correctly would compiling from source and changing things fix this issue? or is there in an issue at all.. keep in mind I've compiled like twice, still want to learn but very inexperienced. But I want to get the most out of my distro and my machine..

contrasutra 08-25-2003 12:04 AM

yes, technically you aren't getting full performance, but I believe Redhat compiles their binaries like:

-mcpu=i386 -march=i686

so the binaries run on i386 (though technically, this hasnt been possible since GCC 3.2 came out), but are optimized for i686.

And even at that, the performace gain is marginal.

But as long as your GCC settings are right, compiling yourself will give you full performace.


All times are GMT -5. The time now is 11:08 PM.