Re: Cross compiling: general include headers "missing" (here: coreutils 7.5)

Tor Lillqvist <[email protected]> Sat, 29 Aug 2009 22:54:48 +0300
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
> Unfortunately when calling make, it stops compiling due to missing
> headers (here sys/wait.h for savewd.c).
> When searching my disk I recognized that these headers are already
> present in the CygWin installation under /usr/include.

You can't use Cygwin headers when compiling code intended to run
without Cygwin. It is totally wrong and pointless (as the headers
reflect the underlying C library and (emulated) OS, neither of which
are the same for a Cygwin program and a plain Windows program. You
should think of Cygwin as a completely different operating system than
Windows. (It just happens to run on top of Windows.)

--tml

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july