tce-load -i libffi-dev python-dev cd llvm-3.5.1.src sed -e "s:/docs/llvm:/share/doc/llvm-3.5.1:" -i Makefile.config.in CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-libffi --enable-optimized --enable-shared --disable-assertions find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make [real 23m 0.58s] sudo make install sudo chmod 644 /usr/local/lib/libLLVM*.a sudo chmod 644 /usr/local/lib/libLTO*.a