The most likely suspect...don't use directories with spaces in them Mr embedded is probably the issue. work with your code in a directory that has no spaces.
The most likely suspect...don't use directories with spaces in them Mr embedded is probably the issue. work with your code in a directory that has no spaces.
Mr embedded is my system name. I don't think it does matter. I think there may be problem in path variable. if you see given link there is step for path variable. but when I click on edit button I don't see new window
The above error message clearly indicates the OS is finding the gcc.exe executable just fine. What the OS is not finding is the hello.c file on your desktop.
The above error message clearly indicates the OS is finding the gcc.exe executable just fine. What the OS is not finding is the hello.c file on your desktop.
Obviously, the hello.c file is either not located in the current directory:
Code:
C:\Users\Mr Embedded\
Or the full file name is NOT:
Code:
hello.c
Execute the command:
Code:
dir /p
Carefully look for the C source file, double check there is not an extra extension like, hello.c.txt.
If no file is found in the current directory you will need to locate the specific directory which contains the C source file and then CD to the proper directory.
By the way, the current command window is not currently in the Desktop directory.
Unfortunately, it is a common issue encountered on Windows OS environments, users open source files in text editors like Notepad which add the txt extension to the file by default when saved.