Erik de Castro Lopo
2011-Jan-05 08:36 UTC
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
陳韋任 wrote:> Linux ps3 2.6.32-rc2-00995-g96ebbe6-dirty #2 SMP Fri Oct 2 15:12:28 CST > 2009 ppc64 Cell Broadband Engine, altivec supported GNU/LinuxYes, the kenel is 64 bit, but you may still have a pure 32 bit userspace (thats what my dual G5 PowerMac running Linux has). Does your maching have directories like /lib64 and /usr/lib64? If you compile a program like: #include <stdio.h> int main (void) { printf ("sizeof (void*) : %zd\n", sizeof (void*)) ; return 0 ; } what is the size of a void pointer? Does this change if you add -m64 to the gcc command line? Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Hi, Erik Thanks for your reply.> Does your maching have directories like /lib64 and /usr/lib64?Yes, it has /lib64 and /usr/lib64.> what is the size of a void pointer?$ ./a.out sizeof (void*) : 8> Does this change if you add -m64 to the gcc command line?No. Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Erik de Castro Lopo
2011-Jan-05 09:46 UTC
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
陳韋任 wrote:> > Does your maching have directories like /lib64 and /usr/lib64? > Yes, it has /lib64 and /usr/lib64. > > > what is the size of a void pointer? > $ ./a.out > sizeof (void*) : 8 > > > Does this change if you add -m64 to the gcc command line? > No.Ok, as far as I cam tell, everything on your system is correct. I don't have any further ideas for you to test. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Reasonably Related Threads
- [LLVMdev] llvm-gcc compilation error: BUILT_IN_ADJUST_TRAMPOLINE undeclared
- [LLVMdev] llvm-gcc builds on 32 bit linux broken
- [LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps
- [LLVMdev] build broken (a different way)
- [LLVMdev] problems compiling gcc frontend: Error: bad register name `%rbp'