delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/14/09:15:38

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: PBM Utilities
Date: 14 Jun 2000 12:55:01 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 27
Message-ID: <8i7vb5$ieq$1@nets3.rz.RWTH-Aachen.DE>
References: <394776F6 DOT 43BC33C9 AT celco DOT co DOT uk>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 960987301 18906 137.226.32.75 (14 Jun 2000 12:55:01 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 14 Jun 2000 12:55:01 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Clive Jenkins <clive DOT jenkins AT celco DOT co DOT uk> wrote:
> Can anybody offer a DJGPP-compiled port of the PBM (Portable Bit Map)
> Utilities that come with X-Windows?

I have one sitting at home. But it's a very old one (made with DJGPP
1.10, or so), so the source may not work as-is, any more.  I think it
should be a whole lot easier with today's DJGPP. With a bit of luck,
it could be as simple as just editing the makefile a bit and typing
'make', if you have a rather complete set of DJGPP/GNU tools
installed.

To give some background: the programs are built in a somewhat strange
way to keep the whole package at a manageable installed size. This was
necessary back then, partly due to the lack of dynamic libraries in
DOS, partly due to disk space limitations. Each category of tools
(pbm, pgm, ppm and pnm series) is compiled into a single, large
executable that takes the name of the actual tool as its first command
line parameter. A truckload of batchfiles substitutes the normal
executables. But you cannot pipe stuff into batchfiles, usually, so
the usual pipes of PBM utitily calls passing data from one to the next
didn't work. Later, I found out that .bat files compiled by 'bat2exec'
do support redirection, so I compiled all of them, and achieved a
nicely working PBMplus package.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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