export CC="gcc -arch i386 -m32"Note that simply running a "./configure" in the libjpeg/etc. dirs is not enough - you'll need to compile and install 32-bit versions of the libs.
I have been working on a script to work all this out, and Austin English wrote the following:
http://winezeug.googlecode.com/svn/trunk/install-osx-deps.sh ryan woodsmall rwoodsmall@xxxxxxx