Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
User Journal

Journal Journal: rh 8.0 for i686 1

Regarding the compilation of RedHat for i686, mencioned in the Mandrake 9.0 article (here), I gave up of rpm... I got tired of specs and sources ignoring the optimization flags, speaking of invalid archs, etc.

So I decided to go the other way around and play with gcc itself. I found /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs and changed the *cc1: entry to:

-mmmx -msse -mfpmath=sse,387 -funroll-loops -ffast-math -malign-double -fomit-frame-pointer -fno-exceptions -march=i686 -mcpu=i686 -O3 %(cc1_cpu) %{profile:-p}

Let's see how it goes and if everything works. :)

Slashdot Top Deals

Put not your trust in money, but put your money in trust.

Working...