This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GCC/Eclipse tutorial: `make`: The system cannot find the file specified

Hi - I am following this tutorial and getting this error. image description

This exact question was asked; however, I do have the mkdir file in the C:\Program Files (x86)\GNU ARM Eclipse\Build Tools\2.8-201611221915\bin folder.

My makefile.windows looks like this: image description

..and my PATH in my env. variables is this: C:\Program Files (x86)\GNU Tools ARM Embedded\6.2 2016q4\bin;C:\Program Files (x86)\GnuWin32\bin.

Thanks in advance! D.K.

Parents
  • I encountered the same problem. On Windows 10 64-bit there is an issue with the $(ProgramFiles) it does not return (x86) so the code to automatically determine the correct PROGFILES setting does not work. If you explicitly use PROGFILES := C:\Program Files (x86) or just use an absolute path in the GNU_INSTALL_ROOT line everything compiles fine. I struggled with this for several hours, hopefully the tutorial can get updated so others do not have to figure it out on their own.

Reply
  • I encountered the same problem. On Windows 10 64-bit there is an issue with the $(ProgramFiles) it does not return (x86) so the code to automatically determine the correct PROGFILES setting does not work. If you explicitly use PROGFILES := C:\Program Files (x86) or just use an absolute path in the GNU_INSTALL_ROOT line everything compiles fine. I struggled with this for several hours, hopefully the tutorial can get updated so others do not have to figure it out on their own.

Children
Related