Quote:
Originally posted by dosnlinux
I know it doesn't really matter. It's just a matter of curiosity and wanting to have my packages labled correctly.(step 1 on my road to learning slack package management)
|
You may want to take a look at this little HOWTO
GCC Myths and Facts. You can also get "technical" with the GCC documentation
Intel 386 and AMD x86-64 Options.
Basically you can set a "general" cpu type with the following CFLAG variable:
"-march=i686"
This will compile the program for all 686 processors, this includes Athlons as well.
If you have a Pentium IV CPU you can further optimize with this:
"-march=i686 -mcpu=pentium4"
This is the same as above, but it "turns on" special features that are avialable to the Pentium 4.
The way that Pat V compiles most, not all but most, of the software for Slackware is to use:
"-march=i486 -mcpu=i686"
This allows for the most compatibility with nearly every processor out there with the special features that will be used if the package is installed on a 686 processor.
HTH,
MMYoung