cannot find header files
Aaron J. Grier
aaron@frye.com
Wed Oct 2 21:29:00 GMT 2002
On Thu, Oct 03, 2002 at 01:21:53AM +0000, Arvind K wrote:
> >Arvind Krishnaswamy wrote:
> >> url.c:47:23: sys/socket.h: No such file or directory
> >>
> >> similar errors for dirent.h, sys/ioctl.h, net/route.h etc.
> Is there a workaround? Either changing the application program to
> adapt to functions defined in newlib or adapting headers from some
> other library
> (glibc)?
> In general, how is such functionality supported by newlib?
it's not. socket and route imply some sort of networking, while dirent
and ioctl imply a filesystem. newlib provides neither.
you need to find an operating system to go along with your C library.
RTEMS (http://www.rtems.com/) and eCos (http://sources.redhat.com/ecos/)
are two freely available examples; there are plenty of others.
--
Aaron J. Grier | Frye Electronics, Tigard, OR | aaron@frye.com
More information about the Newlib
mailing list