Subject: [NetBSD/sparc64] Re: error while compling gnupg
To: None <wiz@netbsd.org, wk@gnupg.org, port-sparc64@netbsd.org>
From: None <ww@styx.org>
List: port-sparc64
Date: 01/07/2002 14:48:21
On Mon, Jan 07, 2002 at 06:37:23PM -0000, eeh@netbsd.org wrote:
> 
> Looks like gnupg does not support 64-bit SPARC at the moment.  The 
> mpi stuff appears to be sparc32 only.
> 
 
Here's a patch suitable for being dropped into gnupg/patches

--- mpi/config.links.orig       Sun Apr 29 07:36:18 2001
+++ mpi/config.links    Mon Jan  7 14:20:31 2002
@@ -119,6 +119,12 @@
        path="sparc32v8 sparc32"
        mpi_extra_modules="udiv"
        ;;
+    sparc64-*-netbsd)
+       # There are no sparc64 assembler modules that work, so
+       # just use generic C functions
+       echo '/* configured for sparc64-*netbsd */' >>./mpi/asm-syntax.h
+       path=""
+       ;;
     sparc9*-*-*     | \
     sparc64*-*-*    | \
     ultrasparc*-*-* )