Message-ID: <3947995D.B2B9AF73@celco.co.uk> Date: Wed, 14 Jun 2000 15:40:29 +0100 From: Clive Jenkins Organization: Celco Limited X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: PBM Utilities References: <394776F6 DOT 43BC33C9 AT celco DOT co DOT uk> <8i7vb5$ieq$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 195.74.116.56 X-Trace: 14 Jun 2000 15:46:57 -0100, 195.74.116.56 Lines: 37 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote: > > Clive Jenkins 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. Thanks for the information - I might try to re-do what you have done, but with the latest DJGPP and PBM. Since I do not currently have the DJGPP development tools installed on my PC, I was hoping to find that somebody had done it already. If you are willing to let me try using your nicely working PBMplus package, please email it to me, including any documentation. Thanks again.