tce-load -i compiletc openssl-dev sqlite3-dev glib2-dev gdbm-dev bzip2-dev libX11-dev readline-dev expat2-dev https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tar.xz cd Python-2.7.18 CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=yes find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-g -O3//g' {} \; make [4m 49.27s] sudo make install sudo chmod 755 /usr/local/lib/libpython2.7.so.1.0