On Sun, Jan 13, 2002 at 07:33:34AM -0500, Andrew Hurt wrote: > Bertram Bourdrez wrote: > > I guess it would be easier to instruct the Debian-supplied gcc to compile > > for i686 by using the -march=i686 flag. If you're compiling Debian sources > > you could alter dkpg-architecture to spit out i686 instead of i386, and if > > you're compiling anything else from source you might want to try editing the > > Makefile's CFLAGS macro to say -march=i686 in addition to what's already in > > there. > > Is good. I have played with some of these, but my 'play' was not > organized enough to track my mistakes properly.
I think this is what the pentium-builder package is designed to do: Package: pentium-builder Priority: extra Section: devel Installed-Size: 16 Maintainer: Joey Hess <[EMAIL PROTECTED]> Architecture: all Version: 0.9 Filename: dists/potato/main/binary-all/devel/pentium-builder_0.9.deb Size: 3482 MD5sum: c224e31a36961e4511fe7051a93e4c7a Description: force pentium optimized compilation Replaces gcc, cc, and g++ with scripts that build with pentium optimizations, using egcc. . By default, after installing this package, the compilers will behave normally. However, if the environment variable DEBIAN_BUILDARCH=pentium is set, they will enter pentium optimized compile mode. Followups to somewhere other than debian-testing, please. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED]

