nios2-elf-gcc.exe: error: CreateProcess: No such file or directory
Hi,
Windows 10 Pro
2004
19041.450
Quartus Prime Pro 19.4, build 64
All Intel and Nios SW is on a local drive.
I get this error in the NiosII shell:
"nios2-elf-gcc.exe: error: CreateProcess: No such file or directory"
Do you have any hints or path available?
Regards.
As a solution to the issue nios2-elf-gcc.exe: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory we have found useful what follows.
Before running make.exe on the generated Makefile, add this to your bash script:
export WSLENV=PATH/l:${WSLENV}
sed -i 's/\(adjust-path[-mixed]*\) = .*/\1 = $1/' MakefileWSLEN fixes missing pathnames, while sed basically removes the effect of adjust-path.
This is an issue introduced by a Windows update but I still believe Intel should provide a fix or patch for it. We wasted several days on it.