Build 32bit on 64bit Debian

Install the following:
apt-get install libc6-dev-i386 lib32ncurses5-dev

Run the following on the commandline to set the 32bit environment:
export LDFLAGS=’-m32 -L/usr/lib32′
export CFLAGS=’-m32′
export CXXFLAGS=’-m32′
export LDFLAGS=’-m32′