[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make is looking for the o/p file to exist !!
From: |
Eli Zaretskii |
Subject: |
Re: Make is looking for the o/p file to exist !! |
Date: |
Fri, 25 Apr 2008 14:15:36 +0300 |
> Date: Fri, 25 Apr 2008 05:35:16 -0400
> From: address@hidden
>
> 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.