From subsecret
Continue to build from /tools (remember to have the PATH set as described http://subsecret.dk/wiki/Recompiling)
tar
tar xf tar-1.26.tar.bz2 cd tar-1.26 ./configure --prefix=/tools make -j 12 make install cd ..
pcre
tar xf pcre-8.12.tar.bz2 cd pcre-8.12 ./configure --prefix=/tools make -j 12 make install cd ..
grep
tar xf grep-2.7.tar.gz cd grep-2.7 ./configure --prefix=/tools make -j 12 make install cd ..
We are now ready for next step