tce-load -i compiletc cmake readline-dev wget http://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2 cd physfs-3.0.2 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DPHYSFS_BUILD_STATIC=OFF -DCURSES_LIBRARY=/usr/local/lib/libncursesw.so ../ make [0m 27.88s] make install -- PhysicsFS will build with the following options: -- ZIP support: enabled -- 7zip support: enabled -- GRP support: enabled -- WAD support: enabled -- HOG support: enabled -- MVL support: enabled -- QPAK support: enabled -- SLB support: enabled -- VDF support: enabled -- ISO9660 support: enabled -- Build static library: disabled -- Build shared library: enabled -- Build stdio test program: enabled -- Use readline in test program: enabled