The Windows build of fio assumes only a minimal set of POSIX headers is available, so trying to build using Cygwin's GCC and its full set is probably not going to work. Why do you not want to use MinGW GCC? -- Bruce -----Original Message----- From: Jens Axboe [mailto:axboe@xxxxxx] Sent: Thursday, March 6, 2014 2:20 PM To: Sitsofe Wheeler; Stefan Hajnoczi Cc: fio@xxxxxxxxxxxxxxx; Bruce Cran Subject: Re: [PATCH 0/2] Two small ./configure fixes On 03/06/2014 11:14 AM, Sitsofe Wheeler wrote: > On Thu, Mar 06, 2014 at 06:41:57PM +0100, Stefan Hajnoczi wrote: >> My hopes of cross-compiling fio for Windows were dashed when I >> realized pthreads is needed (I guess only Cygwin supports it, not mingw). > > I think mingw supports pthreads using winpthreads (see > https://urldefense.proofpoint.com/v1/url?u=http://thread.gmane.org/gma > ne.comp.storage.fio/97/focus%3D149&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r > =3JMVyziIyZtZ5cv9eWNLwQ%3D%3D%0A&m=UhTi1rWRqSE0ZT%2B5li5HCwkSWuK8mUG1CqLBrQTtHU0%3D%0A&s=28594f27ce732489c3620148921f10705aa70e811eeaf337622bc397dae3f21d ). Does fio even compile with pure cygwin gcc (rather than mingw)? I think I had a brief try and it complained about conflicting headers... Probably want to pull Bruce into this thread. -- Jens Axboe This e-mail (and any attachments) is confidential and may be privileged. Any unauthorized use, copying, disclosure or dissemination of this communication is prohibited. If you are not the intended recipient, please notify the sender immediately and delete all copies of the message and its attachments. -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html