On Tue, Nov 19, 2002 at 06:19:41PM +0800, Patrick Hsieh wrote: > Hello list, > > Is it possible to rebuild the gcc and glibc in woody with some optimized gcc > argument? I've noticed that gentoo has a /etc/make.conf in which I can defile > > CHOST="i686-pc-linux-gnu" > CFLAGS="-march=i686 -O3 -pipe" > > is it possible for debian woody to do so to rebuild the gcc and glibc with > optimized compilation method? If yes, which is the best recommended way to > achieve this?
Add some deb-src lines to your sources.list, then run "export CFLAGS='-march=i686 -O3 -pipe'", then "apt-get --compile source gcc glibc". Untested, but it should work. :) -rob
msg13974/pgp00000.pgp
Description: PGP signature