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,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4E4E38B9.9010803@users.sourceforge.net> Date: Fri, 19 Aug 2011 18:19:37 +0800 From: JonY 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 Subject: Re: i686-w64-mingw32-gcc & ntifs.h References: <4E4D9487 DOT 4080103 AT users DOT sourceforge DOT net> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig13840050861E9B8BF3BF3F46" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig13840050861E9B8BF3BF3F46 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 8/19/2011 07:37, Sam Steingold wrote: >> * JonY [2011-08-19 06:39:03 +0800]: >> >> You are supposed to use -I to add the ddk path to gcc. >=20 > 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. --------------enig13840050861E9B8BF3BF3F46 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) iEYEARECAAYFAk5OOL4ACgkQp56AKe10wHcfcQCfb6ocdUtSNnHQLOQI/WpMrlqG 1AQAn2oDCK7ycOzd8B3LF73MBWIBe0qr =tmlq -----END PGP SIGNATURE----- --------------enig13840050861E9B8BF3BF3F46--