Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Nate Eldredge , djgpp-workers AT delorie DOT com Date: Fri, 16 Apr 1999 10:00:20 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Stack in djgpp In-reply-to: <37169E06.C23F3335@cartsys.com> X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Nate Eldredge wrote: > Salvador Eduardo Tropea (SET) wrote: > > > > Hans-Bernhard Broeker said: > > > > > Answer in a nutshell: there *is* no 'spawn' on Unix (including Linux). > > > > > spawn and friends are a DOSism. > > > > > > > > Ok, so what's the best in this case: > > > > 1) Add conditional compilation stuff (makes the code harder to understand) > > > > 2) Implement spawn and make it conditional (taked from libc in DOS or the > > > > emulation under Linux). > > > > > > You could do that. But I strongly doubt you'ld ever manage to get the > > > maintainer of the original Unix version to accept that (s)he has to use a > > > DOSism like spawn, instead of the 'native' Unix method of fork/exec. > > > > I'll try to use system, but the author is interested in the port and won't > > reject a spawn emulation. > > Something else you might consider is `pexecute' from GNU's libiberty. > It already works correctly on a wide range of OS's. Ok, I'll check it to see if it isn't too much problems. > If the copying policy will permit the inclusion of GPL (not LGPL) code, > that is. The package is GPL. 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