Compiling for 32bit using TDM-GCC x64
1. To force 32bit on all new projects and non-project compiles, go to Tools >> Compiler Options and select the ‘TDM-GCC 32bit’ profile. This profile will pass -m32 and use lib32 by default.
2. To force 32bit on already created projects, go to Project >> Project Options >> Compiler and select the ‘TDM-GCC 32bit’ compiler profile.