This is the mail archive of the
mailing list for the Cygwin project.
Re: Is cygwin support linux header file??
On 05/02/2010 04:31, Larry Hall (Cygwin) wrote:
> On 02/04/2010 08:36 PM, phil song wrote:
>> when I compile some project in cygwin,It prompts
>> linux/fb.h: No such file or
>> linux/kd.h: No such file or
>> linux/input.h: No such file
>> or directory
>> who can tell me how to operate to let fb.h in cygwin enviroment?
> You can't. You're compiling code built to depend of Linux-specific
> features. If you want to build it on another platform, you're going
> to need to figure out what it's doing on Linux and figure out how
> to accomplish that on the target platform. Some would call this
> non-portable code. And they'd be right.
It does support "Windows", though:
Phil, you could probably try building a MinGW version by adding
CC="gcc-3 -mno-cygwin" CXX="gcc-3 -mno-cygwin"
to the configure line, but how well it would interoperate with cygwin apps is
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple