delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Sat, 1 Nov 2008 13:48:42 -0400 |
From: | David Arnstein <arnstein AT panix DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Call "undocumented" NTDLL functions with Cygwin/gcc? |
Message-ID: | <20081101174842.GA10646@panix.com> |
Reply-To: | arnstein AT pobox DOT com |
References: | <20081101074937 DOT GA4858 AT panix DOT com> <20081101091443 DOT GT6478 AT calimero DOT vinschen DOT de> <20081101141356 DOT GA4936 AT ednor DOT casa DOT cgf DOT cx> |
MIME-Version: | 1.0 |
In-Reply-To: | <20081101141356.GA4936@ednor.casa.cgf.cx> |
User-Agent: | Mutt/1.5.18 (2008-05-17) |
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 Sat, Nov 01, 2008 at 10:14:44AM +0100, Corinna Vinschen wrote: > >Many of the ntdll functions and types are defined under > >/usr/include/w32api/ddk. The definitions are not complete so expect > >that you have to create your own header to define missing symbols. > >Patches to extend the files in w32api (maintained by the MingW team) > >are always welcome. On Sat, Nov 01, 2008 at 10:13:57AM -0400, Christopher Faylor wrote: > But they don't go to this mailing list. Check out mingw.org. OK, I will submit any patches to MingW instead of Cygin. But, back to Cygwin. The directory /usr/include/w32api/ddk does not seem to be available when I use "gcc -mno-cygwin." I mean, I have this line of code in my source file: #include <w32api/ddk/ntapi.h> This is how I am trying to compile: gcc -mno-cygwin -Wall -g bodge.c -o bodge bodge.c:2:30: w32api/ddk/ntapi.h: No such file or directory So what is the proper way to use the DDK functions in Cygwin? You mention MingW, so I assume that I should use the MingW compiler (gcc -mno-cygwin). Do I assume wrong? -- David Arnstein (00) arnstein AT pobox DOT com {{ }} ^^ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |