But beyond that, we can *today* compile Wine with Mingw as PE. So what we need is a checkspec make target which would run
your script,
compile Wine as PE, extract what needs extracting from there, and compare results. This does not need to happen all the time, only from time to time by some people that (1) have Mingw installed, and (2) care to do it :).
True. However I still a little worried about the "stabillity" of the solution.
Why? This is as good of a verification method (no, even better) than what we have today.
Sure, but I have written the Perl code I know how ad hoc it is. It works under reasonable assumptions however beyond that...
But I'm not really against it, I'm just pointing out potential problems...