Need to Compile a 32 bit Application on a 64 bit Linux System?
· β 3 min read
I have a small utility, written in C, that I need to use from time to time. I wrote it back in 2009 when 32 bit systems were all the rage. It reads a certain type of data file and outputs lots of, ahem, interesting information about the contents. When I compiled it on my 64 bit laptop, it produced complete and utter rubbish! How did I fix it?
The data file that the utility reads is a Firebird database file which has a number of long fields in various structs.