X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 19 Aug 2011 14:00:44 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: i686-w64-mingw32-gcc & ntifs.h Message-ID: <20110819120044.GA2506@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4E4D9487 DOT 4080103 AT users DOT sourceforge DOT net> <4E4E38B9 DOT 9010803 AT users DOT sourceforge DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4E4E38B9.9010803@users.sourceforge.net> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Aug 19 18:19, JonY wrote: > 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. > > > > 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple