That error means that something went wrong earlier. Look upwards at
config.log and you will see somewhere that it tried to do a link test
that fails, typically due to missing or improper crt*.o, and thus
it set
the NO_EXECUTABLES flag. From that point on, the next test that tries
to link something will give that error, but the problem was whatever
test failed originally. The details should all be in config.log.
OK, thanks a lot for the explanation. I grepped for gcc_no_link and
found that crt2.o was not found, because the latest mingw-win64 crt
puts it in lib64/ while GCC expect it to be in lib/. That brings two
questions: 1. is the lib64/ choice final, and should GCC be modified
to find libraries there? 2. has there been any attempt at building a
multilib -m32/-m64 mingw compiler?
Thanks,
FX