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

Various software sizes calculation



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