i686-w64-mingw32-gcc & ntifs.h

JonY jon_y@users.sourceforge.net
Fri Aug 19 14:03:00 GMT 2011


On 8/19/2011 20:00, Corinna Vinschen wrote:
> On Aug 19 18:19, JonY wrote:
>> On 8/19/2011 07:37, Sam Steingold wrote:
>>>> * JonY <wba_l@hfref.fbheprsbetr.arg> [2011-08-19 06:39:03 +0800]:
>>>>
>>>> You are supposed to use -I to add the ddk path to gcc.
>>>
>>> how?
>>> I mean, -Iddk does not work because I do not have ddk directory in my
>>> build directory.
>>> how do I ask i686-w64-mingw32-gcc to print
>>> /usr/i686-w64-mingw32/sys-root/mingw/include/ ??
>>> thanks!
>>
>> Try i686-w64-mingw32-gcc -print-sysroot and append /mingw/include/ddk.
> 
> Or just use -I=/mingw/include/ddk
> 
> However, IMHO it's still a bug in the headers.
> 
> 
> Corinna
> 

No, this really is intended behavior following MSVC and PSDK releases,
you need to add -I to the path of the ddk headers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110819/c994bb0e/attachment.sig>


More information about the Cygwin mailing list