Cygwin uses Windows commands

0

I'd like to build a a library with Cygwin.

I've installed Cygwin on Windows 8.1 and added it to the windows's path.

I still get this error:

enter image description here

Cygwin still want to start Windows' FIND command instead of the Unic version.

erbal

Posted 2015-01-17T19:13:53.007

Reputation: 101

Answers

0

Check your $PATH. It should have Cygwin's /bin, etc., directories in the front. If it does not, fix it. If that does not help, check that you have actually installed the required package for the find command. It should be in the findutils package.

wilx

Posted 2015-01-17T19:13:53.007

Reputation: 146

It's in the first place. – erbal – 2015-01-17T19:51:12.170

@erbal: Updated. – wilx – 2015-01-17T19:56:20.027

It's installed: $ cygcheck.exe find Found: C:\cygwin64\bin\find.exe – erbal – 2015-01-17T20:08:59.570

@erbal: Your $PATH must be messed up. Please try to set it with export PATH=/bin:/cygdrive/c/Windows/system32. – wilx – 2015-01-17T20:12:44.797

In this case I get the error: make command not found, unofortunately. – erbal – 2015-01-17T20:19:58.323

@erbal: Are you sure you have Cygwin's make package installed? – wilx – 2015-01-17T20:23:10.980

Yes, as you see in the picture above, normally it starts. But it cannot use the Unix kind of find command. – erbal – 2015-01-17T20:24:34.223