Forum Discussion
Altera_Forum
Honored Contributor
13 years agonios2-elf-objcopy: command not found in Cygwin Windows 7, Nios II 12.1
Hi, We have a bunch of existing scripts used to generate srecs, .sh files. The scripts have been running for many years so I feel that the work. I am in the process of converting our build en...
Altera_Forum
Honored Contributor
13 years agoI'm not sure how your Makefile is performing the PATH modification, but,
it works fine for me if and only if you get rid of the quotes and use parens. Something like:
PATH=$(PATH);../xbin
all :
xbin_foo
(and if xbin_foo is a cygwin shell script that just does printenv PATH from within it will correctly show the Cygwin style paths, modified with ../xbin at the tail end ) If I try using curly brace and quotes per your example, I get errors. I have no idea if this is only a problem for you now due to the change in Make version. Also, "echo ${PATH}" from the Makefile will display DOS style; but scripts invoked from the Makefile will correctly have Cygwin-UNIX style paths.