This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: libc support
On Wednesday 21 August 2002 06:04 am, Andrew Lunn wrote:
> On Wed, Aug 21, 2002 at 05:50:34AM -0700, NavEcos wrote:
> > Is there any easy way to get a complete list of all the libc
> > functions that are currently supported by eCos? I was surprised
> > to learn qsort() was in there for example, and am curious what else
> > is.
>
> Some of these are not libc, but it will give you an idea. Also, my
> sledge hammer is not very accurate. Some of the insides for the IP
> stack are included etc...
>
> objdump --syms libtarget.a | grep "g F" | grep -v [cC]yg_ | grep -v
> hal_ | grep -v diag | grep -v __ > ~/tmp
>
> 00000000 g F .text.setuid 00000018 setuid
> 00000000 g F .text.setgid 00000018 setgid
> 00000000 g F .text.mkdir 000000c7 mkdir
> 00000000 g F .text.rmdir 000000c7 rmdir
> 00000000 g F .text.rename 00000119 rename
> 00000000 g F .text.chdir 0000014e chdir
<snip snip>
Yes, but as you can see, some are cleary not actually supported even
if the symbol is in the library. Is there a list of what is supported?
Short of trial and error, I cannot see any way to get a list of what
functions are available.
Thank you,
-Rich
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss