This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cannot find header files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]