In article <SWILDNER.94Apr22204
...@channelz.gun.de>,
Sascha Wildner <swild
...@channelz.GUN.de> wrote:
>What are the incantations to make pgp 2.3 compile under FreeBSD-1.0.2?
>When I do a 'make 386bsd', I get:
Your compile is fine...
>[...]
>gcc -E 80386.S > _80386.s
This is the problem step... The preprocessor magic used in 80386.S
is generating symbols like '_EntryPoint :'. The assembler sees two
fields and assumes that the first is an opcode. The trick is to make
the cpp generate '_EntryPoint:' (note the missing space). Here's a
patch.
*** broken/80386.S Sun Apr 24 20:39:35 1994
--- ./80386.S Sun Apr 24 20:38:35 1994
***************
*** 13,21 ****
#ifndef SYSV
#ifdef __STDC__
! #define ENTRY(name) .align 4 ; .globl _##name ; _##name:
#else
! #define ENTRY(name) .align 4 ; .globl _/**/name ; _/**/name:
#endif
#else /* SYSV */
#define ENTRY(name) .align 4 ; .globl name ; name:
--- 13,21 ----
#ifndef SYSV
#ifdef __STDC__
! #define ENTRY(name) .align 4 ; .globl _##name ; _##name##:
#else
! #define ENTRY(name) .align 4 ; .globl _/**/name ; _/**/name/**/:
#endif
#else /* SYSV */
#define ENTRY(name) .align 4 ; .globl name ; name: