[CLN-list] problems building on powerpc64
Bruno Haible
bruno at clisp.org
Thu Mar 30 16:23:07 CEST 2006
Dmitry Khutornoy wrote:
> /* Integers of type long have 32 bits. */
> #define long_bitsize 32
> /* Pointers of type char * have 32 bits. */
> #define pointer_bitsize 32
OK, you are compiling in PowerPC 32-bit mode, but CLN's configuration was
confused because you have a 64-bit CPU.
The immediate workaround for you is to change include/cln/config.h so that it
defines __rs6000__ and not __powerpc64__, do a "make clean" and "make".
The fix should be to add code to m4/general.m4 to distinguish 32-bit and
64-bit PowerPC, like it's already done for Sparc / Sparc64. Can someone
please do that? I don't have the time.
Bruno
More information about the CLN-list
mailing list