Hi,
I got exactly this error trying to include a MS Visual C build library
during the link process. If this library contains a .voltbl section you
will encounter this error. Maybe something of this kind is in your path to
the libraries you don't get while manually running the link command.
best
Recently upgraded to ucrt gcc 12 and I'm getting "This app can't run on
your PC" prompts when I attempt to run binaries compiled by ucrt linking
gcc (A quick look at dependency walker reveals this is actually error 193 -
The executable is not a valid Win 32 application) which suggests a bad PE