[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
Erik de Castro Lopo
mle+cl at mega-nerd.com
Wed Jan 5 00:36:21 PST 2011
陳韋任 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/Linux
Yes, 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/
More information about the llvm-dev
mailing list