http://bugs.winehq.org/show_bug.cgi?id=31057
Roman Kagan rkagan@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rkagan@mail.ru
--- Comment #15 from Roman Kagan rkagan@mail.ru 2013-11-08 09:44:09 CST --- Me too:
wine-1.7.5 packaged with Fedora 19 nmake from WDK7.1 clean WINEPREFIX, with only a few basic MSI packages from WDK installed via msiexec.
Also experimented a bit around comment 6 and comment 7.
In my experiments WINEARCH didn't make any difference.
What did, however, was the presence of the byte-order mark at the beginning of the Makefile.
E.g.
# echo -e 'all:\n\techo ok' > Makefile # wine nmake.exe -nologo fixme:heap:HeapSetInformation (nil) 1 (nil) 0 makefile(3) : fatal error U1034: syntax error : separator missing Stop.
the same with UTF-8 BOM:
# echo -e '\xef\xbb\xbfall:\n\techo ok' > Makefile wine nmake.exe -nologo fixme:heap:HeapSetInformation (nil) 1 (nil) 0 echo ok fixme:file:NeedCurrentDirectoryForExePathW (L"echo"): partial stub ok
Ditto with the recipe from comment 7: if you use iconv ... -t utf-16le which omits BOM, nmake still fails to parse the Makefile correctly.