From subsecret
Continue to build from /tools (remember to have the PATH set as described in Recompiling)
tar
tar xf tar-1.26.tar.gz cd tar-1.26 ./configure --prefix=/tools make -j 8
build will fail. remove _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); from gnu/stdio.h
make -j 8 make install cd ..
pcre
tar pcre-8.32.tar.gz cd pcre-8.32 ./configure --prefix=/tools make -j 8 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