Message74474
| Author |
ronaldoussoren |
| Recipients |
lemburg, loewis, ronaldoussoren, trentm |
| Date |
2008年10月07日.19:54:17 |
| SpamBayes Score |
0.0005349493 |
| Marked as misclassified |
No |
| Message-id |
<02977A9C-EA5E-4E9B-B840-A506E04DBD3D@mac.com> |
| In-reply-to |
<6db0ea510810070928y51d35074i84c7ec18db8d03d8@mail.gmail.com> |
| Content |
On 7 Oct, 2008, at 18:29, Trent Mick wrote:
>
> Trent Mick <trentm@gmail.com> added the comment:
>
>> I get:
>>
>> sizeof(_Bool)=4 bytes
>>
>> on a G4 PPC.
>
> Same thing on a G5 PPC:
>
> $ cat main.c
> #include <stdio.h>
>
> int main(void) {
> printf("sizeof(_Bool) is %d\n", sizeof(_Bool));
> }
> $ gcc main.c
What if you compile using 'gcc -arch ppc64 main.c'?
Ronald |
|