tce-load -i compiletc https://archive.mozilla.org/pub/nspr/releases/v4.26/src/nspr-4.26.tar.gz cd nspr-4.26 cd nspr sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in sed -i 's#$(LIBRARY) ##' config/rules.mk 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 --localstatedir=/var --with-mozilla --with-pthreads find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 29.66s] make install