C++ – CYGWIN Make help

ccygwinmakefilewindows

Hey guys I installed cygwin on my windows 7 just now With ALL THE PACKAGES (including make). But once i try to use the make command in cygwin it gives me error message: "bash: make: command not found". Wt is this? I deff installed all the packages that came with cygwin.

Best Answer

I don't know whether Win7 is playing funnies with CygWin since I answered a question a couple of days ago where it appeared to have removed a DLL.

From the bash shell, execute echo $PATH and ensure that /bin is in there somewhere.

Make sure that you are running it from the CygWin bash shell rather than a cmd.exe window.

Check that make.exe exists under your \cygwin\bin directory (assuming you installed in \cygwin).

If it's not there, re-install (by that, I mean rename the directory and do a full install again, not use the reinstall from setup.exe) Check immediately after the install to see if it's there.

That's about all I can offer without further info. Let me know the results of those tasks and we can move on further if they don't pan out.