From: "Aleksey N. Malov" <vivid@...>
> Hello gbadev,
>
> I am using DevKitAdv r5 beta3. There is a problem with stream
> output from make files.
>
> If I run the following command from console then it works correctly:
>
> nm.exe libscreens.a > output.nm
>
> But when I try to run it from makefile then error occurs:
>
> /usr/bin/sh: nm.exe: command not found
It looks like (I seem to remember seeing this as well) 'make' tries
to run executables directly when the command line is simple (no
redirections) but when there are redirections it will invoke sh.exe
to parse the command line. It should be equivalent but it seems
sh.exe does not inherit make's PATH so it can't find nm.exe.
This is a cygwin (is DKA still using cygwin ? don't remember)
configuration issue, I can't give a specific solution right now, sorry.
Cheers,
--Jonathan