Re: size of int
"Nelson H. F. Beebe" <[email protected]> Mon, 28 Oct 2024 07:41:18 -0600
| Newsgroups | gmane.os.netbsd.ports.alpha |
|---|---|
| Message-ID | <[email protected]> |
Greg Troxel <[email protected]> asks on Mon, 28 Oct 2024 09:15:19 -0400 about sizes of integers on the DEC Alpha architecture. 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. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah - - Department of Mathematics, 110 LCB Internet e-mail: [email protected] - - 155 S 1400 E RM 233 [email protected] [email protected] - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - -------------------------------------------------------------------------------