Preloader Compiling Error in Windows 10

Hello,
the link to AlteraForum.com above does not direct to the proper page any more due to moving forum to forum.Intel.com. So, the solution could be found here:
https://forums.intel.com/s/question/0D50P00003yyTozSAE/preloader-make-untar-failing?t=1549519913714
The problem is that Windows 10 also have its native version of tar.exe at C:\Windows\system32 which seems to be used instead of the tar of cygwin at /bin.
The problem could be solved with editing variable $PATH of Cygwin:
export PATH=/bin:$PATH
Cygwin then finds make and tar at /bin for the first time and does not continue in looking for at other directories with wrong version of tar.
Or path to system directories of Windows could be also removed from $PATH variable, of course. You can observe all directories where Cygwin looks for programs with
echo $PATH
(separated with :).
I hope this will help someone.
Best wishes.

1 Like