Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: djgpp-workers AT delorie DOT com Date: Thu, 29 Apr 1999 18:08:35 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: fork/exec/wait -> system .... More problems. CygWin is that bad? X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp-workers AT delorie DOT com Hi All For all that followed the thread about replacing this UNIX sequence: I finally used the ANSI solution (system) and it worked perfectly under DOS and Linux. But to my surprise the author of SDCC altered my patch! I did it very carefully to avoid adding even a single line djgpp dependant and he filled the code with #ifdef __DJGPP__. So I asked why. He told me that some Win32 users (there are a CygWin port) reported that the system solution fails! Sandeep (author of SDCC) failed to understand why exactly but looks like people running CygWin programs that uses system *must* have a valid sh in the path. It looks very strange because according to a post in the Allegro mailing list (problems with makefiles for CygWin) looks like Make uses command.com if no shell is available, but perhaps that's made by code in Make and no automatically by system. Anybody knows about it? Eli, you know about make, what's your opinion? DJ, you know about Cygnus tools, what's the problem? I told Sandeep that Cygnus people should consider including a shell in the .zip in the same way they are including cywin.dll and I'm including cwsdpmi.exe. But if it is too much asking I will finally forced to write a spawn equivalent using fork/exec/wait for UNIX and CygWin. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(5411) 4759 0013