Re: firefox3 build fails on alpha
Dieter <[email protected]> Mon, 18 Aug 2008 10:31:26 +0100
| Newsgroups | gmane.os.freebsd.devel.alpha |
|---|---|
| Message-ID | <[email protected]> |
> but I cannot see where PR_BYTES_PER_xxx are defined.
find dir -name \*.h | xargs grep PR_BYTES_PER_
If that doesn't find it, leave out the -name \*.h
> I think on alpha unsigned int should be 32 bit, it that correct?
Should be. Easily verified:
/* check_sizes.c
*
* Verify the size of various types.
*/
#include <stdio.h>
int main(int argc, char **argv)
{
printf("size of char = %ld\n", sizeof(char) );
printf("size of short = %ld\n", sizeof(short) );
printf("size of int = %ld\n", sizeof(int) );
printf("size of long = %ld\n", sizeof(long) );
printf("size of long long = %ld\n", sizeof(long long) );
printf("size of float = %ld\n", sizeof(float) );
printf("size of double = %ld\n", sizeof(double) );
return(0);
}
NetBSD/alpha and FreeBSD/amd64 both give:
size of char = 1
size of short = 2
size of int = 4
size of long = 8
size of long long = 8
size of float = 4
size of double = 8
I would be very surprised if FreeBSD/alpha gives anything different.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-alpha
To unsubscribe, send any mail to "[email protected]"