gitmakefileconflictgnuwin32

GNUwin32 make is conflicted with Git, how to avoid this situation?


Just found an error when use GNUwin32 Make in command line:

gnu make make: Interrupt/Exception caught

My system is Window 7. There are the Make path and the Git path in my system PATH variables.

When I remove git path from PATH variable, there's no error any more on making things.

So my question is :

Is there anyway to avoid this conflict between make and git cmds? Thanks very much~


Solution

  • The OP Zhaiduo reports:

    It seems @echo **** in Makefile triggers the "Interrupt/Exception caught".
    But no any cmd named like "echo" in git bin folder.

    True, but there are commands which are related to managing the echo done in a shell session, like less.exe.

    The workaround found by the OP is a bit extreme (but works):

    My solution is rename the git/bin folder before make build, the return back.