delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/19/08:01:40

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 <corinna-cygwin AT cygwin DOT com>
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: <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>
MIME-Version: 1.0
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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.

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

- Raw text -


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