sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sks-devel] [patch] Compiling sks on FreeBSD/amd64


From: Johan van Selst
Subject: [Sks-devel] [patch] Compiling sks on FreeBSD/amd64
Date: Thu, 25 Nov 2004 14:28:30 +0100
User-agent: Mutt/1.5.6i

The SKS (read: Numerix) configuration scripts don't seem to detect amd64
systems properly and bail out with an "machine `amd64-unknown' not
recognized" error.

Since the Numerix.Dlong and the Numerix.Slong modules are not compiled,
on this system, I switched to Clong. I got it working with the following
quick hack (that is, it compiles now and seems to start up...)


Greetings,
Johan


--- number.ml   Thu Oct 21 04:56:03 2004
+++ number.ml   Thu Nov 25 00:25:35 2004
@@ -18,7 +18,7 @@
 (** Basic operations and definitions for multi-precistion integers. *)

 (* Change to Dlong for non x86 platforms *)
-module Nx = Numerix.Slong
+module Nx = Numerix.Clong

 let two = Nx.of_int 2
 let one = Nx.of_int 1
--- numerix-0.19/config/config.sub      Thu Nov 25 00:33:31 2004
+++ numerix-0.19/config/config.sub      Thu Nov 25 00:35:01 2004
@@ -155,7 +155,7 @@
                | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
                | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
                | mips64 | mipsel | mips64el | mips64orion | mips64orionel \
-               | mipstx39 | mipstx39el \
+               | mipstx39 | mipstx39el | amd64 \
                | sparc | sparclet | sparclite | sparc64 | v850)
                basic_machine=$basic_machine-unknown
                ;;
@@ -181,7 +181,7 @@
              | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
              | sparc64-* | mips64-* | mipsel-* \
              | mips64el-* | mips64orion-* | mips64orionel-*  \
-             | mipstx39-* | mipstx39el-* \
+             | mipstx39-* | mipstx39el-* | amd64-* \
              | f301-*)
                ;;
        # Recognize the various machine names and aliases which stand

Attachment: pgpbTG5sJeHRp.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]