How can I install gcc 4.7.2 for codeblocks that supports both 32 and 64 compilation?
If I install the x32 bit compiler: x32-4.7.2-release-win32-sjlj-rev10 it will compile with -m32 compiler switch but give a bunch of linker errors for -m64
If I install the x64 bit compiler: x64-4.7.2-release-win32-sjlj-rev10 it will compile with -m64 compiler switch but give a bunch of linker errors for -m32
If I try both, it overwrites files of the other one.. If I install them both to a different directory, I have to change compiler toolchain-executables for each program I compile.
I got both from: http://sourceforge.net/projects/mingwbuilds/
So again, how can I get my gcc to be able to compile for both using the -m switch on windows? OR is there another way?