Re: size of int
Greg Troxel <[email protected]> Mon, 28 Oct 2024 09:55:37 -0400
| Newsgroups | gmane.os.netbsd.ports.alpha |
|---|---|
| Message-ID | <[email protected]> |
"Nelson H. F. Beebe" <[email protected]> writes: > I just checked build logs from my features package at > > https://www.math.utah.edu/pub/features/ > > and found that sizeof(int) is 4 on NetBSD 9.2 and 10.0, and on Debian > 11 and 12. > > sizeof(long int) and sizeof(long long int) on those systems is 8, and > sizeof(short) is 2. > > Our last physical Alpha boxes were retired more than a decade ago, but > I still have Alpha virtual machines in our test lab. I also checked > my oldest build logs for features-1.00 in March 2003, and found on our > physical Alpha server running OSF/1 that the sizes agree with those > reported above. Thanks. I guess I'm just confused about NetBSD/gcc ABI then. Maybe it was VMS or Ultrix, or maybe I'm totally hallucinating.