Make: No such file or directory

Hi,

I reinstalled cygwin yesterday and now every time I try to compile a code with make, I get an error

make: No such file or directory…

Thanks

Hi gman,

I’m assuming you mean that you re-installed Cygwin using the package from Cygwin.com and not the one that accompanies the PGI Windows compilers. From the Cygwin FAQ: Cygwin FAQ

2.8. What packages should I download? Where are ‘make’, ‘gcc’, ‘vi’, etc?

When using Cygwin Setup for the first time, the default is to install a minimal subset of all available packages. If you want anything beyond that, you will have to select it explicitly. See > Cygwin Packages > for a searchable list of available packages, or use cygcheck -p as described in the Cygwin User’s Guide at > Cygwin Utilities> .

If you want to build programs, of course you’ll need gcc, binutils, make and probably other packages from the Devel'' category. Text editors can be found under Editors’'.

Hope this helps,
Mat