Hi,

the attached patch adds the needed rules to build succesfully on amd64.

However, I took it from sfind which ships a more updated rules-set.
Unfortunately, it is licensed under CDDL only, and sdd is GPL only,
hence the patch is incompatible.

Joerg, could you please release an updated version of sdd (if GPL or
CDDL doesn't matter)?

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          [EMAIL PROTECTED]
Internet:       http://people.panthera-systems.net/~daniel-baumann/
diff -Naur sdd-1.52.orig/RULES/MKLINKS sdd-1.52/RULES/MKLINKS
--- sdd-1.52.orig/RULES/MKLINKS 2004-07-10 21:34:41.000000000 +0000
+++ sdd-1.52/RULES/MKLINKS      2006-11-08 20:47:09.000000000 +0000
@@ -117,6 +117,8 @@
 ln -s  i586-linux-gcc.rul      parisc64-linux-gcc.rul
 ln -s  i586-linux-cc.rul       ia64-linux-cc.rul
 ln -s  i586-linux-gcc.rul      ia64-linux-gcc.rul
+ln -s  i586-linux-cc.rul       x86_64-linux-cc.rul
+ln -s  i586-linux-gcc.rul      x86_64-linux-gcc.rul
 ln -s  os-cygwin32_nt.id       os-cygwin_95-4.0.id
 ln -s  os-cygwin32_nt.id       os-cygwin_98-4.0.id
 ln -s  os-cygwin32_nt.id       os-cygwin_98-4.10.id
diff -Naur sdd-1.52.orig/RULES/x86_64-linux-cc.rul 
sdd-1.52/RULES/x86_64-linux-cc.rul
--- sdd-1.52.orig/RULES/x86_64-linux-cc.rul     1970-01-01 00:00:00.000000000 
+0000
+++ sdd-1.52/RULES/x86_64-linux-cc.rul  2006-11-08 20:47:09.000000000 +0000
@@ -0,0 +1,41 @@
+#ident "@(#)i586-linux-cc.rul  1.8 06/07/06 "
+###########################################################################
+# Written 1996 by J. Schilling
+###########################################################################
+#
+# Platform dependent MACROS for Linux
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License").  You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/rules.prg
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul
+
+OSDEFS=
+
+KDEFINES=      -DKERNEL -D_KERNEL
+
+LIB_PREFIX=    lib
+LIB_SUFFIX=    .a
+SHL_SUFFIX=    .so.1.0
+
+LIB_SOCKET=    
+LIB_MATH=      -lm
+LIB_KVM=       
+
+#LDOPTS=               $(LIBS_PATH) $(LDPATH) $(RUNPATH)
+LDOPTS=                $(LIBS_PATH) $(LDPATH)
+
+LORDER=                echo
+TSORT=         cat
diff -Naur sdd-1.52.orig/RULES/x86_64-linux-gcc.rul 
sdd-1.52/RULES/x86_64-linux-gcc.rul
--- sdd-1.52.orig/RULES/x86_64-linux-gcc.rul    1970-01-01 00:00:00.000000000 
+0000
+++ sdd-1.52/RULES/x86_64-linux-gcc.rul 2006-11-08 20:47:09.000000000 +0000
@@ -0,0 +1,41 @@
+#ident "@(#)i586-linux-gcc.rul 1.8 06/07/06 "
+###########################################################################
+# Written 1996 by J. Schilling
+###########################################################################
+#
+# Platform dependent MACROS for Linux
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License").  You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/rules.prg
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul
+
+OSDEFS=
+
+KDEFINES=      -DKERNEL -D_KERNEL
+
+LIB_PREFIX=    lib
+LIB_SUFFIX=    .a
+SHL_SUFFIX=    .so.1.0
+
+LIB_SOCKET=    
+LIB_MATH=      -lm
+LIB_KVM=       
+
+#LDOPTS=               $(LIBS_PATH) $(LDPATH) $(RUNPATH)
+LDOPTS=                $(LIBS_PATH) $(LDPATH)
+
+LORDER=                echo
+TSORT=         cat

Reply via email to