Intel: Build of Nios® II SBT (Software Build Tools) for Eclipse cannot be executed.

Nios II

Category: Nios® II
Tools: Nios® II EDS
device:-

If you update Windows® 10 to version 1903 or higher, you will not be able to run Nios® II SBT Build and Debug As.

Applicable Quartus® Prime Version
・Standard Edition: 19.1, 20.1
・Pro Edition: 19.2, 19.3, 19.4, 20.1, 20.2, 20.3

Please install the following Knowledge Database patch.
nios2-elf-gcc.exe: error: CreateProcess: No such file or directory
https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/embedded/2020/nios2-elf-gcc-exe--error--createprocess- -no-such-file-or-directo.html

You can avoid this by creating a new Nios® II SBT project after installing the patch, but please also perform Generate HDL in Platform Designer and Compile in Quartus® Prime.

<Error message example>
[Build Error]
nios2-elf-g++.exe: error: missing argument to '-msys-crt0='
nios2-elf-g++.exe: error: missing argument to '-msys-lib='
Makefile:1015: recipe for target 'soft.elf' failed
make: *** [soft.elf] Error 1

[Debug Error]
wslpath: /mnt/c/Project/software/soft/soft.elf.srec: No such file or directory
wslpath: /mnt/c/Project/software/soft/soft.elf.srec: No such file or directory
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Processor is already paused
Leaving target processor paused
rm: cannot remove '/mnt/c/Project/software/soft/soft.elf.srec': No such file or directory

※Notes
Installing the patch on Quartus® Prime on a PC below Windows® 10 1903 will prevent the Nios® II SBT from working properly.
After uninstalling the patch, the Nios II Command Shell will not start, leaving me with no choice but to reinstall Quartus.

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.