tce-load -i compiletc wvstreams-dev bash

wget http://deb.debian.org/debian/pool/main/w/wvdial/wvdial_1.61.orig.tar.gz
wget http://deb.debian.org/debian/pool/main/w/wvdial/wvdial_1.61-8.debian.tar.xz

cd wvdial-1.61

patch -Np1 -i ../010_typo_pon.wvdial.1.patch
patch -Np1 -i ../020_ftbfs_with_gcc_4.5.patch

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/va

edit Makefile
PPPDIR=/usr/local/etc/ppp/peers

find . -name wvrules-posix.mk -type f -exec sed -i 's/-O2//g' {} \;

make CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" [0m 10.00s]
sudo make install

