Mail Archives: djgpp/1995/10/05/13:21:15
-----BEGIN PGP SIGNED MESSAGE-----
Frank Barnes (fbarnes AT BayNetworks DOT com) wrote:
> >I've been trying to compile PGP under DJGPP. It's easy enough to do
> >the RSAREF library using the makefile for GCC there, but the DJGPP one
> >for the whole thing won't work. I'm not a whiz with makefiles, so if
> >anyone out there has managed to pull this off, I'd love to know about
> >it.
> I patched the makefile and got it built. It was smaller and faster
> than the DOS executable on the net, but unfortunatly I got a
> runtime error
I successfully compiled pgp with djgpp. A pre-compiled version is available
in the pgp262ix.zip package. 2.6.3i will compile cleanly with djgpp when it
goes GA.
- From memory, you need to change inp() and outp() in noise.c to inportb() and
outportb() (include pc.h and link with -lpc). The run-time error you encountered probably
occured because of the use of the variable name "window" (and "_window") in
the z*.* deflation files. This variale name is already used in one of the
djgpp libraries, and it is the library variable that gets picked up during
linking. To avoid this, either rename all occurences of window (or _window)
to slide (or _slide), or use -Dwindow=slide and -D_window=_slide compiler
flags in the appropriate places.
Mark.
- --
..--------------------------{ From: Mark Lewis }--------------------------.
| Computing Services | http://www.city.ac.uk/~sl323/home.html |
| City University | PGP public key available by WWW, or by |
| London, England | fingering sl323 AT finger DOT city DOT ac DOT uk |
`--------{ M DOT Lewis AT city DOT ac DOT uk (MIME) | nostra AT city DOT ac DOT uk (MIME) }---------'
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQCVAgUBMHO9lb+exwC8S2+xAQFqxAP/SOz+YkWLUk+xq9TqGYE0sdi13J30pZxG
fFtE9vuhLt3jt8TI9k5M7lpNJ7vhmDMwf8HTCfPuRpOXAY0fn+yF4O+jHySnzIAy
oVaqrlxAULsKTu5t95tdSuETnsjNLYvkIobli9DxegognHjZcQC38qaaUhYcNfPo
MsXK+MgFjVI=
=1YBS
-----END PGP SIGNATURE-----
- Raw text -