managers

Pierre Ficheux pierre.ficheux at openwide.fr
Tue Jun 19 13:45:26 UTC 2012


Le 19/06/2012 15:08, Sebastian Huber a écrit :
> On 06/19/2012 02:38 PM, Pierre Ficheux wrote:
>>
>> My question was actually about .exe size reduction (a kind of FAQ...).
>> I've
>> read some discussion
>> (http://comments.gmane.org/gmane.os.rtems.user/10658)
>> about removing some libs:
>>
>> "You need disable MINIIMFS, libio and libc, and exclude the console
>> from your
>> Makefile. This will make your minium.exe less than 20K"
>>
>> Actually how is it possible? modifying source tree?
>
> No, you can do this at link time. You have to know the right
> configuration parameters. This should give the absolute minimum:

It gives me the following for pc386 BSP:

$ i386-rtems4.11-size o-optimize/mini.exe
    text	   data	    bss	    dec	    hex	filename
  152409	  10304	   8712	 171425	  29da1	o-optimize/mini.exe


-- 
Pierre FICHEUX  -/- CTO OWI, France -\- pierre.ficheux at openwide.fr
                                          http://ingenierie.openwide.fr
                                          http://www.ficheux.org
I would love to change the world, but they won't give me the source code





More information about the users mailing list