Xref: news-dnh.mv.net comp.os.msdos.djgpp:2423 Path: news-dnh.mv.net!mv!news.sprintlink.net!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!sunsite.doc.ic.ac.uk!cs.city.ac.uk!sl323 From: sl323 AT city DOT ac DOT uk (Mark Lewis) Newsgroups: comp.os.msdos.djgpp Subject: Re: Makefile for PGP? Date: 5 Oct 1995 11:12:58 GMT Organization: School of Informatics, City University, London Lines: 44 References: <44kml3$pf4 AT celebrian DOT otago DOT ac DOT nz> Reply-To: M DOT Lewis AT city DOT ac DOT uk Nntp-Posting-Host: exeter.city.ac.uk To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp -----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-----