bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readpipe patch again


From: Juan Manuel Guerrero
Subject: Re: readpipe patch again
Date: Mon, 6 May 2002 20:09:18 +0100

On 06 May 2002, Akim Demaille wrote:

> >>>>> "Paul" == Paul Eggert <address@hidden> writes:

> Paul> So this raises the question: how important is it to run Bison on
> Paul> hosts that lack `fork'?  Such hosts are not GNU hosts; nor are
> Paul> they Unix hosts; nor are they POSIX hosts.  One could argue that
> Paul> a developer should have access to a GNU or Unix or POSIX host to
> Paul> run Bison on, even if the rest of the build runs on some other
> Paul> host.
> 
> I have no big problem with that myself, but ISTR there were people
> wanting to use Bison under DOS.  Hm.  Can't make up my mind :(


Using `fork' will be deadly for dos/windows. Please try to avoid it
if possible.  I would like to suggest two alternatives at least for
dos/djgpp:

- the use of popen/pclose.
- the use of posix_spawn* family of functions.

Information about posix_spawn* family of functions are available
from http://www.opengroup.org/

Both alternatives are available for DJGPP and would make
the bison code be compilable out-of-the-box.

Regards,
Guerrero, Juan Manuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]