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'm using Windows and I am following this tutorial.

I am at the point where I need to write make at the example project.

I get this error

error

as warned in the tutorial. However, I have checked the path in Makefile.windows:

ifeq ($(findstring 86, $(ProgramFiles)), )
	PROGFILES := C:/Program Files
else
	PROGFILES := C:/Program Files (x86)
endif

GNU_INSTALL_ROOT := $(PROGFILES)/GNU Tools ARM Embedded/5.4 2016q3
GNU_VERSION := 5.4.3
GNU_PREFIX := arm-none-eabi

The actual path is \Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3. I have also added its bin directory to the Path.

Parents
  • Hi,

    Build tools are by default installed to C:\Program Files\GNU ARM Eclipse\Build Tools\VERSION\bin or C:\Program Files (x86)\GNU ARM Eclipse\Build Tools\VERSION\bin if you installed the package that was referenced in the tutorial. Please verify that mkdir.exe is located in this folder.

Reply
  • Hi,

    Build tools are by default installed to C:\Program Files\GNU ARM Eclipse\Build Tools\VERSION\bin or C:\Program Files (x86)\GNU ARM Eclipse\Build Tools\VERSION\bin if you installed the package that was referenced in the tutorial. Please verify that mkdir.exe is located in this folder.

Children
  • Indeed, there is no mkdir.exe in C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin. I had installed the most downloaded version from here. Now, I tried to install the latest 32-bit version instead. Indeed it goes to Program Files (x86), but it still does not include mkdir.exe.

  • mkdir.exe got included in 'build tools' v.2.7 -xxx, recommend to update to the latest version. Alternatively, make a copy of busybox.exe and rename it to mkdir.exe

  • Thanks, it works now!