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

Joel Brobecker
2014-12-15T12:44:02Z

Hi Yao,

> I can reproduce your build failure with x86_64-w64-mingw32-gcc too.
> Looks gnulib sys_time module needs update, or maybe we have to use win32
> api, such as GetTempPath and GetRandomFileName.

Do you mean that the problem is solved with a more recent version
of gnulib?

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.

--
Joel