www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/25/15:16:16

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1742
Newsgroups: comp.os.msdos.djgpp
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!ix.netcom.com!netcom.com!mictali
From: mictali AT netcom DOT com (Jere McDevitt)
Subject: Re: HELP!
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
References: <DDv3B8 DOT LJD AT jade DOT mv DOT net>
Date: Fri, 25 Aug 1995 15:34:33 GMT
Lines: 38
Sender: mictali AT netcom15 DOT netcom DOT com
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

apostolo AT platon wrote:
: Hello,

: I am trying to port a program to MS-DOS using djgpp. The program is called
: gsftopk and it creates a pk file (font file used by any TeX dvi driver)
: from a gsf file (a font description for ghostscript).
: gcc compiles the program and it reports only three warnings but when I try to
: execute it I get an error message. Following is a complete list of the
: error and the code that produced it:

: Declarations:       
:  
:         int     pid;
:         int     std_in[2];
:         int     std_out[2];
:         int     status;

: The commnand tha causes the error:

:         if (pipe(std_in) != 0 || pipe(std_out) != 0) {
:             perror("pipe");
:             return 1;
:         }

: The error message:

: pipe: Unknown error 32

: If you can help me, please drop me a message to: apostolo AT platon DOT ee DOT duth DOT gr
: Thanks in advance for any help!
: apostolos...

: PS The include files of djgpp have definitions for pipe, fork, and wait. 

Pipe may be defined in the headers because djgpp can be configured as a
cross compiler, however, it doesn't function under Dos.

Jere

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019