I was trying to build another product using mingw, when suddenly gcc started crashing now and then.
config.log showed:
Kod: Zaznacz cały
Cannot create temporary file in c:\Temp\src\sphinx\------------------------------\: No such file or directory
It turned out that
configure script was setting TMP variable which was causing gcc to crash. The culprit was in one of m4 files, which used this var to make cute underlined messages.
We'd better not use variables with names TMP and TMPDIR. Replacing TMP with TMPUNDER in m4 file solved the problem.