This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: cannot find header files
- From: "Aaron J. Grier" <aaron at frye dot com>
- To: Arvind K <aksammy at hotmail dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Wed, 2 Oct 2002 21:29:24 -0700
- Subject: Re: cannot find header files
- References: <F32LntgnHenKoNTRP190000ed85@hotmail.com>
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