Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Martin Budsjo <marbud@agilis.foo.bogus>
Subject: Re: Compiling PGP
Date: 01 Mar 2017 20:16:54 +0000	[thread overview]
Message-ID: <0ba17aec56fa95ec059e84e5360d4ec3.axp-list@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2579 bytes --]

Gerald Anderson <gander@voyager.netcomi.com> 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

             reply	other threads:[~2017-03-01 20:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01 20:16 Martin Budsjo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-27  4:58 Compiling PGP Gerald Anderson
1997-04-12 11:37 Uncle George
1997-04-10  8:27 Frederic Tschannen
1997-03-06  1:57 Uncle George
1997-03-05 10:55 Uncle George
1996-11-11 20:37 Sean Chisham
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox