www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/21/18:35:11

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2111
Path: news-dnh.mv.net!mv!news.sprintlink.net!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.dfn.de!ikarus.rz.tu-clausthal.de!majestix.rz.tu-clausthal.de!incp
From: incp AT majestix DOT rz DOT tu-clausthal DOT de (Christian Perle)
Newsgroups: comp.os.msdos.djgpp
Subject: binary output on stdout?
Date: 21 Sep 1995 17:26:14 GMT
Organization: Rechenzentrum der TU Clausthal
Lines: 18
Nntp-Posting-Host: majestix.rz.tu-clausthal.de
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Hello!

I am trying to compile the PBM-tools (NETpbm) with DJGPP. They compile 
cleanly but there is one big problem: Most of the PBM-tools use stdout
as output channel for binary data. So how do I force DJGPP to set binary
mode for stdout?

I had the same problem on the Atari using GCC. The solution was to set 
a flag for binary mode in the file struct.

Please reply via e-mail, cause I don't read this group regularly.

thanks in advance,
  Chris
--
Christian Perle              E-mail:        christian DOT perle AT tu-clausthal DOT de
Schulstr. 13                 WWW:         http://www.tu-clausthal.de/~incp/
38678 Clausthal/Germany      ComputerGuitarKitesBicyclesBeerPizzaRaytracing

- Raw text -


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