Re: Win32 Makefile template patch.

From: Date: Fri, 09 May 2008 12:08:00 +0000
Subject: Re: Win32 Makefile template patch.
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-37567@lists.php.net to get a copy of this message
2008/5/9 Hector Santos <hsantos@isdg.net>: > 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!"

« previous php.internals (#37567) next »