tce-load -i compiletc https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.7.0.tar.xz cd pciutils-3.7.0 find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make 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" PREFIX=/usr/local SHAREDIR=/usr/local/share/hwdata SHARED=yes [0m 10.39s] sudo make 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" PREFIX=/usr/local SHAREDIR=/usr/local/share/hwdata SHARED=yes install install-lib sudo chmod 755 /usr/local/lib/libpci.so