Originally Posted By: matthew_k
Are the binaries likely to work on a 32bit modern install of ubuntu? (I suppose this would be easy enough to test, but I didn't have one handy) I've got the original source, but no real clue how to go about finding the libraries on a modern system to get it to compile. Is there some compiler switch to make sure any 32bit logic works on the 64 bit machine?

Most (all?) 64-bit distros actually have a combined 32/64-bit userland, so that both 32-bit and 64-bit binaries can run. If you install the right libraries (and have the right kernel options set), even really old 32-bit a.out binaries can run on modern 64-bit systems.

If you do recompile the binaries, use "gcc -m32" to force the compiler to make 32-bit binaries even on a 64-bit system.

Peter