home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!hubcap!ncrcae!ncrlnk!ncr-mpd!kentd
- From: kentd@FtCollins.NCR.com (Kent Dalton)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Emulating UNIX pipes on Amiga (GCC?)
- Message-ID: <KENTD.92Aug21092701@zappa.FtCollins.NCR.com>
- Date: 21 Aug 92 08:27:01 GMT
- References: <KENTD.92Aug19091130@zappa.FtCollins.NCR.com>
- <1992Aug19.210033.15535@bernina.ethz.ch>
- Sender: uucp@ncr-mpd.FtCollins.NCR.COM
- Organization: NCR Microelectronics, Ft. Collins, CO
- Lines: 44
- In-reply-to: wild@nessie.cs.id.ethz.ch's message of 19 Aug 92 21:00:33 GMT
-
- >>>>> On 19 Aug 92 21:00:33 GMT, wild@nessie.cs.id.ethz.ch (Markus Wild) said:
-
- Markus> In article <KENTD.92Aug19091130@zappa.FtCollins.NCR.com> Kent.Dalton@FtCollinsCO.NCR.com writes:
- >
- >Does anybody know how Amiga GCC 2.1/ixemlib implements pipes? I am
-
- Markus> Yes I do actually ;-)
-
- I'm not surprised ;^)
-
- >porting a program which extensively uses pipes and the file handles
- >provided by the GCC popen function are behaving like they are pointed at
- >/dev/null. Does it even work at all?
-
- Markus> Try 2.2.2. Pipes have changed radically in the meantime. They're
- Markus> now completely internal (ringbuffers ;-)), generate nice SIGPIPE
- Markus> signals, so should be as close to unix as you probably can get.
- Markus> 2.2.2 also comes with ixpipe-handler, that is able to turn an
- Markus> ixemul filedescriptor into an AmigaDOS filehandle. This was
- Markus> missing before, you just ended up with a nil: filehandle if the
- Markus> popen()d program didn't know about the ixemul execve() entry
- Markus> vector.
-
- I grabbed 2.2.2 and it fixed my problems. Thanks Markus. If possible,
- let us know what's changed in the next ixemul release readme file...
- My code uses setjmp/longjmp (which I changed the the "_" versions.),
- vfork, exec*, wait, etc, etc, some of which you've mentioned may change
- in the next release (after 2.1).
-
-
- And finally, a sincere word of thanks, you're doing a great job Markus!
- And I for one (among many others I'm sure) appreciate the magnitude of
- your efforts, the GCC port and ixemul are excellent! Keep up the good
- work :^)
-
-
- --
- /**************************************************************************/
- /* Kent Dalton * EMail: Kent.Dalton@FtCollinsCO.NCR.COM */
- /* NCR Microelectronics * Phone: (303) 223-5100 X-319 */
- /* 2001 Danfield Ct. MS470A * FAX: (303) 226-9556 */
- /* Fort Collins, Colorado 80525 * */
- /**************************************************************************/
- I'm ANN LANDERS!! I can SHOPLIFT!!
-