The version of gcc I'm trying to compile is 4.2.1, and my operating system is kubuntu. The configuration correctly identified my system as a 64-bit system. I looked at the output from the compilation and found the -m32 option sent to the compiler which means that gcc (or at least part of it) is being compiled for a 32-bit system.