On Sat, 10 Jan 2009 05:53:23 +0900, Roger Pack wrote: > Anybody know of a HOWTO for compiling a 32-bit binary [like ruby] in a > 64-bit OS like...ubuntu on a 64 bit machine? > Thanks much. > -r > > In general, ensure you have the necessary libraries in /usr/lib32 and set 'CC=gcc -m32' (for a C program). Thusly: $ CC='gcc -m32' ./configure && make Tracking down the libraries can be 'fun'. -jh