This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Is using the newlib optimised routines in side the Dsr (suppose if the dsr calls for every 10ms space)
- From: Sergei Organov <osv at javad dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 05 Oct 2007 12:53:32 +0400
- Subject: [ECOS] Re: Is using the newlib optimised routines in side the Dsr (suppose if the dsr calls for every 10ms space)
- References: <ace3f33d0710042304r57c29332o9e38bf993371fc5@mail.gmail.com>
"srinivas naga vutukuri" <srinivas.vutukuri@gmail.com> writes:
> Dear All,
>
> I just want to know that is there any problem of using the
> newlib optimised C library routines in side the Dsr (suppose if the
> Dsr calls for every 10ms space).
>
> I am using xscale (ixp425) tool chain, and newlib is part of the
> tool chain. So obviously this piece of code might have been used when
> i call memset inside my application code of eCos
When you just use memset in eCos application, most probably it will be
taken not from newlib, but from eCos own C library. You can easily check
what is linked by searching for 'memset' in the map file generated by the
linker. In my case 'memset' is taken from
ecos/install/lib/libtarget.a(infra_memset.o).
Anyway, there should be no harm using 'memset' from either newlib or
eCos from DSR, unless there are some xscale-specific issues I'm not
aware of.
--
Sergei.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss