Might be a different reason, but this problem is apparently caused when the PATH variable contains parentheses (, ), as it does on Win Vista/7. Unfortunately, the available GNU for Windows is hopelessly outdated.
将环境变量中path中值去掉“()”,依旧不能生成elf文件。关闭vivado也不管用。将电脑重启后,能够编译生成elf。
来源: