If you are using LinkIt HDK under Windows, the requirement is that MinGW is installed. In general, following the steps in the installation guide is straightforward and will give you a working LinkIt HDK + MinGW combo. However, you may be using MSYS2 instead of vanilla MinGW. If that is the case, you need to know that you will not be able to run 'make' in MSYS command prompt without small SDK modification.
The problem I faced was that even with ARM for Windows installed in SDK_ROOT\tools\gcc\win, when running 'make' in MSYS command window, I was getting the following error:
/bin/sh: ../../../../../tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: cannot execute binary file: Exec format error
Meanwhile under MinGW command prompt, the projects were building fine.
If you are facing the same issue, the reason for it is that the makefiles are nor properly detecting that we are running the build under Windows and are trying to use the Linux binaries. The fix is simple:
Step 1. Under SDK_ROOT find and open the ".config" file in a text editor
Step 2. Find the line which reads (for version 4.6.1 it is the 3rd line):
ifneq ($(filter MINGW%,$(OS_VERSION)),)
Step 3. Change the line to:
ifneq ($(filter MINGW% MSYS_NT%,$(OS_VERSION)),)
Now the make process will properly detect it is in Windows environment and will use the Windows ARM toolchain.