develooper Front page | perl.perl5.porters | Postings from February 2015

Re: FYI: surprising issue with debian on powerppc - no 64-bitpointers??!

Thread Previous
From:
bulk88
Date:
February 7, 2015 17:40
Subject:
Re: FYI: surprising issue with debian on powerppc - no 64-bitpointers??!
Message ID:
BLU436-SMTP418F2F035E7D36D5E87790DF390@phx.gbl
Michael Felt wrote:
> FYI:
> root@x066:/data/smoker/perl-blead# gcc -o ptr ptr.c
> root@x066:/data/smoker/perl-blead# ./ptr
> size of Char Pointer is: 4 bytes
> size of Void Pointer is: 4 bytes
> 
> root@x066:/data/smoker/perl-blead# cat ptr.c
> #include <stdio.h>
> main()
> {
>         char *cptr;
>         void *vptr;
> 
>         printf("size of Char Pointer is: %d bytes\n", sizeof(cptr));
>         printf("size of Void Pointer is: %d bytes\n", sizeof(vptr));
> }
> 
> I shall check with "debian"

This concept exists http://en.wikipedia.org/wiki/X32_ABI

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About