On Mon, 3 Oct 2011 12:04:19 -0400, Ted Ts'o <ty...@mit.edu> wrote:
> Stupid question.  Can you tell me what the sizeof(unsigned long) is on
> ppc64 and ppc32?   I think that might be the problem...

0 abc@tut:~/src/test$ cat test.c
#include <stdio.h>

int main() {
  printf("%d\n", sizeof(unsigned long));
  return 0;
}
0 abc@tut:~/src/test$ gcc -o test test.c -m32 && ./test
4
0 abc@tut:~/src/test$ gcc -o test test.c -m64 && ./test
8
0 abc@tut:~/src/test$ 

hth,

        --dkg

Attachment: pgptkxWtoMxRX.pgp
Description: PGP signature

Reply via email to