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

Re: CPU specific/optimized Debian builds ?



On Thursday 23 May 2002 19:10, Joey Hess wrote:
> Junichi Uekawa wrote:
> > You should be able to use pentium-builder package and
> > pbuilder together to build athlon-optimized Debian,
> > for example. But I have not gotten that far yet.
> > I'm making a very slow progress...
>
> Does anyone know if gcc 3.0 has some sort of config file in /etc that
> can be used to force compile options like processor and optimizations?
> IIRC, some other distribution had such a thing, and it's really better
> than the hackish pentium-builder to do it that way.

what if we have $CFLAGS within the "build" target in debian/rules file. Then 
export CFLAGS="-O3 -mcpu=i686" , and start some procedure for rebuilding all 
installed binary packages from source packages ?

or to change some defines in /usr/lib/gcc-lib/i386-linux/<gcc-version>/specs ?
-- 
Greets,
fr33zb1


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: