This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Jan Kratochvil <jan.kratochvil@redhat.com> writes:

> But mingw-w64 64-bit target would build OK (after commenting out the mkdtemp()
> call) before adding the gnulib mkdtemp module.  But after the gnulib mkdtemp
> addition there are many errors (attached as the second attachment).  It is all
> about
> 	struct timeval *
> vs.
> 	struct rpl_timeval *
> but an advice from mingw64 aware hacker would be nice to know what to do.

Hi Jan,
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.

-- 
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]