64bit - Building 64 bit gcc on linux -
i wanted use "-m64" compiler option of gcc, , when tried on machine, got following error ...
[root@-dell-1950-server]/root/abc/utilities>gcc -m64 porting1.c porting1.c:1: sorry, unimplemented: 64-bit mode not compiled in
when checked processor info, following output.
[root@-dell-1950-server]/root/abc/utilities/gcc-4.1.1-new/gcc-4.1.1>dmidecode -t 4 # dmidecode 2.7 smbios 2.4 present. handle 0x0400, dmi type 4, 40 bytes. processor information socket designation: cpu1 type: central processor family: xeon manufacturer: intel id: f6 06 00 00 ff fb eb bf signature: type 0, family 6, model 15, stepping 6 flags: fpu (floating-point unit on-chip) vme (virtual mode extension) de (debugging extension) pse (page size extension) tsc (time stamp counter) msr (model specific registers) pae (physical address extension) mce (machine check exception) cx8 (cmpxchg8 instruction supported) apic (on-chip apic hardware supported) sep (fast system call) mtrr (memory type range registers) pge (page global enable) mca (machine check architecture) cmov (conditional move instruction supported) pat (page attribute table) pse-36 (36-bit page size extension) clfsh (clflush instruction supported) ds (debug store) acpi (acpi supported) mmx (mmx technology supported) fxsr (fast floating-point save , restore) sse (streaming simd extensions) sse2 (streaming simd extensions 2) ss (self-snoop) htt (hyper-threading technology) tm (thermal monitor supported) pbe (pending break enabled) version: intel(r) xeon(r) cpu 5110 @ 1.60ghz voltage: 1.4 v external clock: 1066 mhz max speed: 3600 mhz current speed: 1600 mhz status: populated, enabled upgrade: <out of spec> l1 cache handle: 0x0700 l2 cache handle: 0x0701 l3 cache handle: 0x0702 serial number: not specified asset tag: not specified part number: not specified
when checked cpu specs (for intel xeon 5110), says 64 bit machine.
and os running on machine 32-bit
[root@-dell-1950-server]/root/abc/utilities/gcc-4.1.1-new/gcc-4.1.1>uname -a linux phx-dell-1950-server 2.6.19.wx.apr.08.2010 #1 smp thu dec 23 09:59:34 ist 2010 i686 i686 i386 gnu/linux
now, want build 64 bit gcc on machine. should provide in ./configure input 64 bit gcc.
Comments
Post a Comment