[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Various software sizes calculation



On 10/06/2009 05:59 AM, Ali Asgar Nasir wrote:

> Total Variables size:
>
>              Hope the below helps
>
> SIZE OF CHAR 1
>
> SIZE OF INT 4
>
> SIZE OF LONG INT 4
>
> FLOAT  4
>
> SHORT INT 2
>
> DOUBLE           8
>
> LONG DOUBLE 12

This is incorrect.

Types' sizes are target-dependent compile-time constants and vary 
between different targets.

Ralf