> Date: Fri, 25 Apr 2008 05:35:16 -0400 > From: [EMAIL PROTECTED] > > Make says that its not able to find the o/p file. > Can some one help me !!!! > > error > ================================= > >make -f Makefile1.nt > copy build_comp.pl ..\bin > process_begin: CreateProcess(NULL, copy build_comp.pl ..\bin, ...) failed. > make (e=2): The system cannot find the file specified. > make: *** [../bin/build_comp.pl] Error 2
You are invoking a command that is a CMD builtin, so you need to put a line saying SHELL=cmd.exe somewhere in your Makefile, otherwise Make will use sh.exe, which does not understand "copy". (This will only work reliably with the latest version 3.81 of Make compiled for Windows, so if you have an older version, please upgrade.) Alternatively, using "cmd /c copy" instead of just "copy" should do the trick as well. _______________________________________________ Make-w32 mailing list Make-w32@gnu.org http://lists.gnu.org/mailman/listinfo/make-w32