2008/5/9 Hector Santos <[EMAIL PROTECTED]>:
> Richard Quadling wrote:
>
>> You don't actually need to install cygwin to see the fault.
>>
>> Create a batch file called rmdir.bat like this ...
>>
>
> But this is not what you have in the production makefile environment.
>
> Here is a quick test. Create a simple makefile in your home folder.  for me,
> it is:
>
>      g:/cygwin/home/administrator
>
> Makefile has:
>
> # -----------------------
> all: clean
>
> clean:
>  @echo hello world
>  @md bob
>  -rmdir bob /q /s
> # -----------------------
>
> I can run this under a cygwin shell or a normal DOS BOX and it works fine.
>
> However, I agree if you type RMDIR from within a cygwin shell, then it will
> use the EXE version found in the bin folder which is incompatible with the
> Windows RMDIR/RD shell commands, switch wise.
>
> --
> Hector Santos
>
>

Can you build a really simple makefile and run it using nmake?

nmake is the issue as it is not using the shell first. It is looking
for executables via the path. System Internal's FileMonitor shows
this.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to