Re: size of int
Martin Husemann <[email protected]> Mon, 28 Oct 2024 15:49:08 +0100
| Newsgroups | gmane.os.netbsd.ports.alpha |
|---|---|
| Message-ID | <[email protected]> |
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