Various software sizes calculation

Ralf Corsepius ralf.corsepius at rtems.org
Tue Oct 6 04:33:31 UTC 2009


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



More information about the users mailing list