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 Marco!
Thanks for reaching us,
Please follow the next steps:
- Install WSL
- Open the terminal
- run $ nios2_command_shell.sh
- run the tests you need to make , at this point it should work properly.
As resume, you need to have WSL correctly installed.
Please try those steps and let me know the results.
Best regards,
-Eliath Guzman
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
- Suri5 years ago
New Contributor
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.