This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: cannot find header files
- From: "Arvind K" <aksammy at hotmail dot com>
- To: jjohnstn at redhat dot com
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 03 Oct 2002 01:21:53 +0000
- Subject: Re: cannot find header files
- Bcc:
Arvind Krishnaswamy wrote:
> certain programs. The header files used by these programs does not seem
to
> be present in newlib. eg.
>
> url.c:47:23: sys/socket.h: No such file or directory
>
> similar errors for dirent.h, sys/ioctl.h, net/route.h etc.
>
> How do I fix this?
Arvind,
Newlib is not POSIX-compliant. The headers mentioned above and
the functions they prototype are not part of generic newlib.
-- Jeff J.
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?
Thanks
-Arvind
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com