Force gcc to compile 32 bit programs on 64 bit platform
You need to make GCC use the -m32 flag. You could try writing a simple shell script to your $PATH and call it gcc (make sure you don’t overwrite the original gcc, and make sure the new script comes earlier in $PATH, and that it uses the full path to GCC. I think the code … Read more