This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Redboot and printf



On 17-Aug-2001 Bill Diehls wrote:
> Hello,
> One thing I noticed for the PID platform, is that when
> I build Redboot, it links two copies of printf -- one
> in  the libc package (printf.cxx) and one in the
> redboot package (printf.c).  I didn't realize this,
> but it seems that ld will pick the first symbol it
> finds instead of reporting an error.  In my case, it
> is picking the libc implementation.  It seems that it
> should be picking the reboot implementation.  If it
> should, perhaps there is a configuration problem on my
> end?  I'm wondering because I'm trying to port Redboot
> to another ARM7 platform and it is unclear which is
> correct.
> 

RedBoot should never be built with the LIBC package included.

Look at the RedBoot docmentation to see how to build it for
various platforms.  If you are porting to a new architecture
or platform variant, use existing examples as your guide.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]