This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 07/29/2013 11:38 PM, Eli Zaretskii wrote:
However, I'm not sure you need to probe NtQueryInformationFile at configure time, as long as GDB probes for it at run time. That is the usual way of using APIs that might not be available on older Windows systems. Probing at compile time is worse than at run time, because it assumes that GDB will run on the same machine where it was built, which is a bad assumption, especially on Windows, where people like to install precompiled binaries.
I am using AC_TRY_COMPILE to compile the code which probes NtQueryInformationFile, to make sure the code can be compiled successfully. However, the code probes NtQueryInformationFile doesn't run on configure time.
-- Yao (éå)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |