[ECOS] [redboot] Compiling & Linking Apps.
Mon Mar 20 14:16:00 GMT 2006
On Mon, 2006-03-20 at 14:01 +0000, Nick Garnett wrote:
> David Fernandez <email@example.com> writes:
> > I see what you mean, at least for some of the examples in eCos. Lets say
> > that I'm trying to replace or add some binary parts in my application
> > without having to recompile and include a the common application code
> > and/or a c library in each binary.
> In this case what you want is the object loader (in
> services/objloader). It allows object files to be loaded and linked in
> to an existing executable. Very similar to the way that kernel modules
> work in Linux.
> So what you need to do is build a base application containing all the
> parts of the C library you will need, and then load the extra parts as
> you need them.
> The loader is fairly new, and there is currently only support for
> handling PowerPC and i386 relocations. However, it is easily exendable
> to other platforms.
OK, that sounds like what I need.
Thank you very much.
P.D. Don't know if you had a chance to look at the SMP thing; haven't
seen comments in ecos-patches either. Anyway, it is possible that I
submit more code as my development with eCos/Redboot progress...
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss