On Thu, Oct 16, 2008 at 10:42 AM, Andrew Haley <[EMAIL PROTECTED]> wrote:
>
>> LONG_LONG_TYPE_SIZE is in fact defined as 32-bit in the port I am
>> working. I inherited this GCC port, so I do not now whether or not
>> this is fully compliant with C99 standard.
>
> You do now.

Yes, thanks.

>
>> I believe the reason is to reduce code size (this is an 8-bit word
>> target, 64-bit operations are very expensive).
>
>> The core is aimed, at low-power embedded applications without an OS
>> (an event-driven scheduler is used instead). A very old GCC port has
>> been sucessfuly used for years, all I am trying to do is to bring that
>> old port to a more current version of GCC.
>
> Sure, I understand that, and I also note one or two ports define
> LONG_LONG_TYPE_SIZE otherwise.
>
 I see avr port's situation:
 ./avr/avr.h:#define LONG_LONG_TYPE_SIZE (INT_TYPE_SIZE == 8 ? 32 : 64)

 I need to investigate how do they get pass the boot-strapping part of
gcc... Mean while, if anyone have any insight, I am all ears.

> Andrew.
>

Thanks,
-0mar

Reply via email to