Follow-up Comment #5, bug #39825 (project make): I can explain why sh.exe makes the difference. GNU Make on Windows always prefers a Unixy shell if it can find it. If it cannot find it, it uses cmd.exe.
Also, Make does not invoke the shell if there are no shell features, such as quoting and redirection, on the command line it needs to invoke. That is why objdump worked correctly for you without redirection, even when sh.exe was on PATH. The conclusion is that your sh.exe did something wrong with redirection, I don't know why. (In general, the number of non-buggy ports of Unixy shells to Windows is very small.) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?39825> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make