This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Another redboot compile issue
- From: Gary Thomas <gary at mlbassoc dot com>
- To: John Newlin <jnewlin at rawbw dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 24 Oct 2003 12:37:31 -0600
- Subject: Re: [ECOS] Another redboot compile issue
- Organization: MLB Associates
- References: <20031024111634.X48860@shell.rawbw.com>
On Fri, 2003-10-24 at 12:18, John Newlin wrote:
> I see that Redboot is using a linker list to add commands to be linked
> into the system.
>
That's not really true.
> The problem I am having is that when the .o files for redboot are added to
> libtarget.a, that list is not fully populated. If I put the redboot_*.o
> files directly on the link line, everything is great
>
> Any suggestions? Should I just change the final link line to do this, or
> is there a different preferred mechanism?
If you want to add new commands, make sure that they are put into
libextras.a, otherwise they won't end up in the final image. Changing
the way RedBoot is built/linked should not be necessary at all.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss