[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CPU specific binaries



I'm a sysadmin who also would be interested in recompiling to optimise for
specific CPUs.  As far as I can make out, to do this I have to download
source and edit the debain/rules and/or Makefile of each package to pass the
appropriate optimisation flags to the compiler, then rebuild the package.

Then I have to deal with any errors I've introduced.

There has to be a better way of doing this.  Am I missing something?

What is needed is a switch when invoking the build process or a configuration
file on the system somewhere that says "I'd like to optimise this package for
a 486/P5/K6/whatever".  The package build process could (optionally) check for
this and pass all the appropriate optimisation options.

If something like this existed, I'd use it.  It would also make it easy to
create 3'rd party optimised debian distros.

Alex King


On Tue, Oct 19, 1999 at 02:48:04PM -0400, Kalen wrote:
> On Tue, 19 Oct 1999, Darren O. Benham wrote:
> > > I would have thought that it would be fairly easy to change the compile
> > > option in the debian source packages (im not very familiar with the format)
> > > so it would be easy to make cpu specific builds of debian.
> >
> > It depends.. if you are suggesting that Debian only support a small class
> > of CPUs, yes.  You are offtrack.  Debian is specificly trying to support
> > 486 computers as well as the newer stuff.
> > 
> > If, on the other hand, you're talking about doing something for yourself or
> > for some derived distribution... more power to you...
> 
> On that topic, what is the optons at compile time to optimize a pkg for a
> specific CPU? Or do I need a utility for that? Or am I completly off base
> and the standard "make" will do that for me of my system only for my CPU?
> 


Reply to: