minimum file requirements to build hello world
Gedare Bloom
gedare at rtems.org
Tue Sep 27 15:20:09 UTC 2016
If I remember right, the 'size' program lumps together everything
beyond .data, so you are seeing the inclusion of other sections such
as what contains the program heap and RTEMS workspace. By design, the
workspace/heap consume all of the remainder of the RAM memory map
after placing the text/data/bss (and any other specified sections). So
you can expect the size to be about the same as what the size of the
RAM is for the BSP. So in this case the RAM is probably like 128K.
On Tue, Sep 27, 2016 at 10:58 AM, Ярослав Лещинский
<midniwalker at gmail.com> wrote:
> I'm using 4.11, examples v2-4-10-2.
> I checked posix_hello.ralf bss_size is 7700
>
> 200017a0 B bsp_section_bss_begin
> 200035b4 B bsp_section_bss_end
> 00001e14 A bsp_section_bss_size
>
> but in summary of example compilation i see:
> arm-rtems4.11-size o-optimize/posix_hello.exe
> │ text data bss dec hex filename
> │ 53912 1572 129512 184996 2d2a4 o-optimize/posix_hello.exe
>
>
> 2016-09-27 17:41 GMT+03:00 Gedare Bloom <gedare at rtems.org>:
>>
>> That's quite large. What version of rtems are you using?
>>
>> You can see what is taking up space by looking in the output from nm
>> between bsp_section_bss_begin and bsp_section_bss_end.
>>
>> On Tue, Sep 27, 2016 at 5:35 AM, Ярослав Лещинский
>> <midniwalker at gmail.com> wrote:
>> > Hello.
>> > I build hello world example and saw that .bss section is 129320 for
>> > stm32f4
>> > board. How can i decrease that size?
>> > Thanks.
>> > --
>> >
>> > С уважением, Лещинский Ярослав.
>> >
>> > +79814031224
>> >
>> > _______________________________________________
>> > users mailing list
>> > users at rtems.org
>> > http://lists.rtems.org/mailman/listinfo/users
>
>
>
>
> --
>
> С уважением, Лещинский Ярослав.
>
> +79814031224
More information about the users
mailing list