### this is not a script but an step-by-step howto exit 1 ### base 1.2.2 ### download wget http://ftp.gnu.org/pub/gnu/sed/sed-4.1.4.tar.gz ### extract tar zxvf sed-4.1.4.tar.gz cd sed-4.1.4 ### build export CFLAGS='-O2 -march=i486 -fomit-frame-pointer' ./configure \ --target=i486-pc-linux-gnu \ --host=i486-pc-linux-gnu \ --prefix=/usr \ --disable-i18n \ --disable-nls make ### install make DESTDIR=/tmp/sed install cd /tmp/sed/usr strip -R .note -R .comment bin/* rm -r info/ rm -r man/