"srinivas naga vutukuri" <[EMAIL PROTECTED]> 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
