delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/19/10:03:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4E4E6CFA.9090309@users.sourceforge.net>
Date: Fri, 19 Aug 2011 22:02:34 +0800
From: JonY <jon_y AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com,
"mingw-w64-public AT lists DOT sourceforge DOT net" <mingw-w64-public AT lists DOT sourceforge DOT net>
Subject: Re: i686-w64-mingw32-gcc & ntifs.h
References: <svliuq67y2 DOT fsf AT smsv2-L DOT wtc DOT algo> <4E4D9487 DOT 4080103 AT users DOT sourceforge DOT net> <sv39gy47h5 DOT fsf AT smsv2-L DOT wtc DOT algo> <4E4E38B9 DOT 9010803 AT users DOT sourceforge DOT net> <20110819120044 DOT GA2506 AT calimero DOT vinschen DOT de>
In-Reply-To: <20110819120044.GA2506@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enig08EEAA5B096CEAAE1868C206
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 AT hfref DOT fbheprsbetr DOT 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.
>=20
> Or just use -I=3D/mingw/include/ddk
>=20
> However, IMHO it's still a bug in the headers.
>=20
>=20
> Corinna
>=20

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


--------------enig08EEAA5B096CEAAE1868C206
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iEYEARECAAYFAk5ObP4ACgkQp56AKe10wHc1xACePyH3mgzoYN4gT2N0qTrGMtjx
QvAAoIv/Brc6bQ+clvIL4RBfNWU8XAkJ
=tTfr
-----END PGP SIGNATURE-----

--------------enig08EEAA5B096CEAAE1868C206--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019