On Thu, Mar 21, 2024 at 11:21 AM Andres Freund <and...@anarazel.de> wrote: > Obviously tests can't run in that environment, but building should be > possible. I can e.g. build postgres for x86-64 windows on my linux machine, > but can't run the tests (in theory they could be run with wine, but wine isn't > complete enough to run postgres).
For anyone interested in that, the most apparent reason why WINE currently can't run a cross-build of psql.exe or postgres.exe on a Linux/FreeBSD/macOS host is now on their bug list[1] and just needs someone to write an easy patch. I dimly recall there were more subtle things that broke here and there before the relevant change of ours went in, and it would be pretty cool if we could make a list and report 'em... [1] https://bugs.winehq.org/show_bug.cgi?id=56951