
Would you happen to have any advice on how to get it to compile as a 32-bit binary? I've never actually had to compile anything like that thus far, so, I'm kind of at a loss for how to do it. I know this really isn't the place for a discussion like that, but if anyone could point me in the right direction that'd be cool. I'm googling anyway, though! :)
An option would be to install a 32-bit compiler, and then tell the configure script to use that compiler. e.g. CC=/usr/bin/i386-redhat-linux-gcc But what could possibly go wrong? Well, you might wind up linking with some 32-bit libraries and some 64-bit libraries, that would be bad... The safest way to compile 32-bit binaries on a 32-bit platform is to use a chroot environment, with only 32-bit compilers and libraries stored inside the chroot. More info: http://multimedia.cx/eggs/about-that-32-bit-chroot/ https://wiki.ubuntu.com/DebootstrapChroot Compile the binary from inside the chroot environment, then when done copy the binary out of it. You'll need 32-bit versions of some system libraries installed system-wide also (with apt-get), in order to be able to run the executable, howeevr. What you don't want to do is have 32-bit binaries and 64-bit binaries linked together, or a binary linked with a mixture of 32-bit and 64-bit libraries, either would be bad. -- -J