Various software sizes calculation

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Tue Oct 6 06:21:00 UTC 2009


Ralf,

the original question was specific for a LEON2/Sparc project, so it
should be possible to be explicit concerning the variable sizes.

wkr,
Thomas.

Ralf Corsepius schrieb:
> 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
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users


-- 
--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9



More information about the users mailing list