MinGW build target

Eli Zaretskii eliz@gnu.org
Sun Aug 28 18:27:00 GMT 2016

> From: Glenn Burkhardt <gbburkhardt@gmail.com>
> Date: Sun, 28 Aug 2016 13:54:32 -0400
> What's the correct build target for MinGW-w64?  I tried using
>       --build=x86_64-w64-mingw64
> with gdb-7.11.1 and x86_64-6.1.0-release-posix-seh-rt_v5-rev0, and it's 
> trying to compile ser-unix.c.  That doesn't seem right, and, of course, 
> MinGW doesn't include <sys/socket.h>.

Why do you need an explicit argument?  Doesn't config.guess guess
correctly?  If not, maybe your uname needs and update/upgrade?

More information about the Gdb mailing list