Gerald Anderson writes: > > > > Hey guys, > > Got a problem. I've got past the fatal problems with the -O flags compiling > PGP but now we've got this 80386.S stuff. When you try to compile for linux > it uses this by default, which obviously won't work. I've also tried > compiling it without it and no good. I don't see anything in the make for OSF > that would help. I managed to compile PGP 2.6.3i by some tweeking with makefile.. Here is the patch... *** makefile~ Sat Feb 11 01:15:54 2017 --- makefile Sat Feb 11 01:15:33 2017 *************** *** 50,56 **** # -DUSE_SELECT to use select() system call # -DUSE_NBIO to use non-blocking read() ! CFLAGS= -O -DUNIX -DPORTABLE $(BYTEORDER) # must set byte order for targets "sysv" and "bsd" # BYTEORDER= -DHIGHFIRST --- 50,57 ---- # -DUSE_SELECT to use select() system call # -DUSE_NBIO to use non-blocking read() ! #CFLAGS= -O -DUNIX -DPORTABLE $(BYTEORDER) ! CFLAGS= -DUNIX -DPORTABLE -DMERRITT $(BYTEORDER) # must set byte order for targets "sysv" and "bsd" # BYTEORDER= -DHIGHFIRST *************** *** 60,65 **** --- 61,67 ---- LDFLAGS = CPP = $(CC) -E DBG = -O + #DBG = RM = rm -f # uncomment this for old versions of make *************** *** 540,545 **** --- 542,555 ---- CFLAGS="$(RSAINCDIR) $(DBG) -I. -D_BSD -DUNIX -DNOTERMIO \ -DPORTABLE $(BYTEORDER)" + # hack for linux/alpha.. based on osf.. + linux-alpha: + $(MAKE) all \ + CFLAGS="$(RSAINCDIR) $(DBG) -I. -D_BSD -DUNIX \ + -DPORTABLE $(BYTEORDER)" + + + # A/UX 3.0 using unproto (mine is invoked as a cpp using the CFLAGS shown # I placed the cpp in a subdirectory of /src/pgp called unproto aux: unproto/cpp -- Regards Martin ____________________________________________________________________________ Martin Budsjö RSV Dataservice Väst | Linux/m68k Atari. X X X Tel:+46 (0)31-606497 Fax: ...605561 | Linux/Alpha. X X X Email (work) marbud@rsv.se | Digital AXP true XX X XX ______(home)_marbud@tripnet.se__________| 64Bit-CPU/OS pleasure XX X XX The mind is like a parachute - it only works when it's open.. XXX X XXX Unix _IS_ user friendly - it's just selective about who its friends are ! ---------------------------------------------------------------------------- Public Key fingerprint = 58 19 73 40 F3 29 18 10 25 9E E7 A4 2E 1F FD A9 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com