Forum Discussion
nios2-elf-gcc.exe: error: CreateProcess: No such file or directory
- 5 years ago
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.
Hi Eliath,
I tried what you suggest and I got the same error.
We have had WSL correctly installed from the very beginning. Please read my messages above. The issue started after the latest Windows 10 updates.
Regards
Hello Intel support team,
Is there any solution for this error?
Me too getting the same error after updating the Windows. I tried to reinstall everything. But, getting same error. Please let me know the solution since it is very urgent.