tce-load -i compiletc openssl-dev readline-dev bash wget http://deb.debian.org/debian/pool/main/w/wvstreams/wvstreams_4.6.1.orig.tar.gz wget http://deb.debian.org/debian/pool/main/w/wvstreams/wvstreams_4.6.1-15.debian.tar.xz cd wvstreams-4.6.1 patch -Np1 -i ../debian/patches/01_kfreebsd_ftbfs.diff patch -Np1 -i ../debian/patches/02_doc_path.diff patch -Np1 -i ../debian/patches/03_html_sgml.diff patch -Np1 -i ../debian/patches/04_signed_request.diff patch -Np1 -i ../debian/patches/06_gcc-4.7.diff patch -Np1 -i ../debian/patches/07_buildflags.diff patch -Np1 -i ../debian/patches/08_openssl-1.0.diff patch -Np1 -i ../debian/patches/09_glibc-2.12.diff patch -Np1 -i ../debian/patches/10_readline.diff patch -Np1 -i ../debian/patches/11_typos.diff patch -Np1 -i ../debian/patches/gcc-6.patch patch -Np1 -i ../debian/patches/12_increase_task_stack.patch patch -Np1 -i ../debian/patches/wvstreams_openssl1.1.patch patch -Np1 -i ../debian/patches/12_cross.diff patch -Np1 -i ../debian/patches/0001-Fix-narrowing-conversion-error.patch 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 make [8m 2.33s] sudo make install