This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb (gdbserver.exe) build problem under msys
- From: Asmwarrior <asmwarrior at gmail dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb at sourceware dot org, MinGW Users List <mingw-users at lists dot sourceforge dot net>, Chris Sutcliffe <ir0nh34d at gmail dot com>, Xun Xun <xunxun1982 at gmail dot com>
- Date: Thu, 27 Oct 2011 08:49:20 +0800
- Subject: Re: gdb (gdbserver.exe) build problem under msys
- References: <4EA7FCF2.7050402@gmail.com> <201110261536.18038.pedro@codesourcery.com>
The strange thing is that at the bottom of the file:
build\gdb\gdbserver\config.log, there are some thing like:
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define STDC_HEADERS 1
#define HAVE_DIRENT_H 1
#define HAVE_ALLOCA 1
#define HAVE_STRING_H 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_MALLOC_H 1
#define HAVE_VSNPRINTF 1
#define HAVE_ERRNO 1
#define HAVE_DECL_STRERROR 1
#define HAVE_DECL_PERROR 1
#define HAVE_DECL_MEMMEM 0
#define HAVE_DECL_VASPRINTF 0
#define HAVE_DECL_VSNPRINTF 1
#define PKGVERSION "(GDB) "
#define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
#define USE_WIN32API 1
#define HAVE_LIBDL 1
#define USE_XML 1
#define HAVE_SYNC_BUILTINS 1
#define HAVE_DECL_ADDR_NO_RANDOMIZE 0
configure: exit 0
So, the value: USE_WIN32API is defined.
But I'm not sure why the generated config.h was not respect the value in
config.log.
asmwarrior