If sdcc is installed in a folder that has spaces in its path, like "D:\Program Files\SDCC", it can't compile and complains:
'D:\Program' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
at 1: warning 190: ISO C forbids an empty translation unit
subprocess error 1
But if it is installed in "d:\sdcc", it dose compile.
This is probably very closely related to [bugs:#3616].
The apparent issue is that Windows no longer returns a sensible result for GetShortPathName(), which SDCC relies on, on drives other than C, unless you explicitly re-enable that feature.
Related
Bugs:
#3616