Quoting Michael Sternberg <[EMAIL PROTECTED]>:

> 
> I'm wondering why sizeof(bool) is 1 byte in Intel platform and 4 bytes on
> PPC ? Is it depends on version of gcc (2.95.3 on Intel, 2.96 on PPC) ?
> Can I somehow (some compiler flag) make them of same size ?

Just an educated guess here, but this probably has to do with the fact that PPC
is a true RISC and requires data to be 32-bit aligned, or its performance would
significantly deteriorate.

Can't help you w.r.t. gcc flags. My first guess would be to look for a way to
force alignment on the intel side, since it doesn't seem to me that the PPC
compiler would allow you to use non-aligned data.

Herouth

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to