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




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


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