This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Linking problem when removing ISO C standard input/output functions
On 07.09.2011 09:30, Ross Younger wrote:
> Generally, removing features from your eCos configuration doesn't save
> you anything in your built image. eCos was specifically designed to make
> good use of link-time garbage collection; that is to say, if your
> application doesn't use a facility provided by the OS, the code for that
> facility does not appear in the final linked image.
Unless it is targeted to extras.o - depending on the configuration
this can be a non-trivial amount of code that gets linked in.
> An alternative strategy for you might be to start with the `minimal'
> eCos template and build up your configuation from there based on what
> your application actually needs.
I'd recommend that too.
Regards
--
Stano
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss