Subject: Re: compiling pgp
To: Aaron Brown <abrown@eecs.harvard.edu>
From: Neil J. McRae <neil@domino.org>
List: port-sparc
Date: 06/27/1996 20:17:21
On Thu, 27 Jun 1996 09:07:54 -0400 
 Aaron Brown <abrown@eecs.harvard.edu> wrote:

> > 
> > > Has anyone got pgp2.6.2 running under NetBSD 1.1 or 1.2_BETA? I
> > > first tried to compile it with `make netbsd', only to discover that
> > > it was trying to assemble i386 code when I did this. :-/ So I tried
> > > the sun4gcc option, which compiles, but gets a premature end of
> > > file when it tries to decrypt (or decompress?) anything.
> > 
> > I simply added a new entry :-
> > 
> > netbsd_sparc:
> > 	$(MAKE) all CC=gcc LD=gcc OBJS_EXT="sparc.o" \
> > 	CFLAGS="$(RSAINCDIR) -O -DUNIX -DHIGHFIRST -DIDEA32 -DMAX_NAMELEN=255"
> 
> But you also have to go through the code and cast all of the offset arguments
 
> to lseek to off_t because NetBSD uses 64-bit file offsets and the code passes
 
> 32-bit offsets.
> 

And when you do submit the patches back to the authour :-)

Neil
--  
Neil J. McRae.             Alive and Kicking.            neil@DOMINO.ORG