Re: [mingw rfc] Add mkdtemp to gdb/gnulib/ [Re: [PATCH v4 14/14] the "compile" command]

Jan Kratochvil
2014-12-15T17:12:37Z

On Mon, 15 Dec 2014 13:43:58 +0100, Joel Brobecker wrote:
> I would personally take a two-step approach: First, immediately
> fix the build issue using the second recommendation you made, which
> is to use win32 routines on Windows hosts for now. Then, we can
> work towards first upgrading gnulib, and then importing mkdtemp.
> I find that updating gnulib to always be fairly disruptive, which
> is why I propose we stabilize the problem first to get builds
> working back ASAP, and then look at gnulib.

Does it mean that after upgrading gnulib we can drop the MS-Windows host
routines (which need to be written yet) again?

IMO a more clean solution would be s/gdb_select/select/g, drop gdb_select from
mingw-hdep.c and import gnulib select instead which handles what gdb_select is
there fore, hopefully more transparently. But I haven't tried any of that.

Jan