Port-alpha archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: size of int



On Mon, Oct 28, 2024 at 09:55:37AM -0400, Greg Troxel wrote:
> Thanks.  I guess I'm just confused about NetBSD/gcc ABI then.  Maybe it
> was VMS or Ultrix, or maybe I'm totally hallucinating.

 > ./tools-10/bin/alpha--netbsd-gcc -dM -E - < /dev/null | fgrep __SIZEOF
#define __SIZEOF_INT__ 4
#define __SIZEOF_LONG__ 8
#define __SIZEOF_LONG_DOUBLE__ 8
#define __SIZEOF_SIZE_T__ 8
#define __SIZEOF_WINT_T__ 4
#define __SIZEOF_POINTER__ 8
#define __SIZEOF_PTRDIFF_T__ 8
#define __SIZEOF_FLOAT__ 4
#define __SIZEOF_SHORT__ 2
#define __SIZEOF_INT128__ 16
#define __SIZEOF_WCHAR_T__ 4
#define __SIZEOF_DOUBLE__ 8
#define __SIZEOF_LONG_LONG__ 8


AFAIR it always has been that way in NetBSD.

Martin


Home | Main Index | Thread Index | Old Index