This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] Detect GDB is in cygwin
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 30 Jul 2013 18:33:54 +0300
- Subject: Re: [PATCH 1/3] Detect GDB is in cygwin
- References: <1375087546-22591-1-git-send-email-yao at codesourcery dot com> <1375087546-22591-2-git-send-email-yao at codesourcery dot com> <83txjdxtpd dot fsf at gnu dot org> <51F786CB dot 3020700 at codesourcery dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 30 Jul 2013 17:26:35 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: <gdb-patches@sourceware.org>
>
> I am using AC_TRY_COMPILE to compile the code which probes
> NtQueryInformationFile, to make sure the code can be compiled
> successfully.
There's no need to probe that at configure time: this code can always
be compiled on any MS-Windows system. The compiler doesn't care and
doesn't check at compile time whether there is in fact
NtQueryInformationFile function inside the DLL.