tce-load -i compiletc curl-dev expat2-dev gettext kernel.org/pub/software/scm/git/git-2.26.2.tar.xz cd git-2.26.2 CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --libexecdir=/usr/local/lib --with-gitconfig=/usr/local/etc/gitconfig --without-tcltk find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name config.mak.autogen -type f -exec sed -i 's/-g -O2//g' {} \; make [12m 25.19s] sudo make install edit many shebangs #!/usr/bin/env perl