This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MinGW build target
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gbburkhardt at gmail dot com
- Cc: gdb at sourceware dot org
- Date: Sun, 28 Aug 2016 21:39:48 +0300
- Subject: Re: MinGW build target
- Authentication-results: sourceware.org; auth=none
- References: <5772c318-60ea-7728-5fd2-4706e38f46f8@gmail.com> <83vaykbvgv.fsf@gnu.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sun, 28 Aug 2016 21:26:56 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> CC: gdb@sourceware.org
>
> > 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?
In any case, it sounds like x86_64-w64-mingw32 is what you want.