+2  A: 

Your compiler is 32-bit.

Pavel Shved
Where can i find 64 bit gcc? Or how do i compile gcc to support 64 bit compilation?
vivekian2
After building a compiler with x86_64 bit support, the kernel build failed nonetheless. I tried installing fedora core rpm for kernel-devel-x86_64. This failed too. This was root caused to be an earlier P4 CPU which perhaps does not support 64 bit.
vivekian2
oh, you're to reinstall the system completely if you want to change the architecture of your OS frm 32 to 64bit. However, on most 64-bit processors everything 32bit will keep up running.
Pavel Shved
+2  A: 

What system are you running on?

If you host system is running in 32 bit mode you'll have to build a cross-compiler targeting x86_64. If your system is a 64bit system then your vendor should be providing you with a system compiler capable off building 64bit executables.

What does "uname -a" say on your system?

stsquad
I am quite sure its running in 32-bit mode. uname -a Linux host.vivekian.com 2.6.29.4-167.fc11.i586 #1 SMP Wed May 27 17:14:37 EDT 2009 i686 i686 i386 GNU/LinuxHow do i build gcc to target x86-64 ?
vivekian2