compiling binutils misses sys/user.h
Al
oss.elmar@googlemail.com
Thu Aug 26 22:38:00 GMT 2010
> I try to compile binutils. It complaints a missing sys/user.h.
>
> On linux it would find it in "/usr/include/sys/user.h".
>
> What is the way to go on Cygwin?
A question with an answer pays ten times. So here we go for the archives:
The solution is to set the host to the appropriate value. AFAIK it is
autodetected by ./configure, as long as you don't set it manually to a
wrong value as I did (indirectly).
The host for cygwin is i686-pc-cygwin.
Once it is set right the configure excludes modules that depend on
kernel stuff like user.h. A kernel is simply not part of Cygwin.
Al
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list