I tried to build CDE on my SunFire V100 running current Debian testing
(wheezy) tonight.
Attached is the patch that allows it to build. There is no attempt to
look for sparc 64 bit since I can't find any Linux distro that runs on
UltraSPARC machines that has a full 64bit userland.
it seems they all use 32 bit userland and maybe a select few 64 bit
binaries.
dtdocbook fails to build but I will look into that later.
>From 3bc9eba2d57400193aea8e719003709bfb4e39cb Mon Sep 17 00:00:00 2001
From: William Schaub <wsch...@genesi-tech.com>
Date: Wed, 15 Aug 2012 22:35:49 -0400
Subject: [PATCH] Add support for building 32bit SPARC binaries under Linux.
---
cde/config/cf/Imake.cf | 4 ++++
cde/config/cf/linux.cf | 9 +++++++++
2 files changed, 13 insertions(+)
diff --git a/cde/config/cf/Imake.cf b/cde/config/cf/Imake.cf
index 923dfae..456d365 100644
--- a/cde/config/cf/Imake.cf
+++ b/cde/config/cf/Imake.cf
@@ -571,6 +571,10 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
# undef __arm__
# define ARMArchitecture
# endif
+# if defined(__sparc__) || defined(sparc)
+# define SparcArchitecture
+# undef sparc
+# endif
#endif /* linux */
#ifdef __uxp__
diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf
index 07edc56..390bca9 100644
--- a/cde/config/cf/linux.cf
+++ b/cde/config/cf/linux.cf
@@ -135,6 +135,15 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
# endif
#endif
+#ifdef SparcArchitecture
+#define LinuxMachineDefines -Dsparc
+
+#if UseElfFormat
+#define HasPlugin YES
+#define VendorHasX11R6_3libXext YES /* XC or XFree86 3.3.1 */
+#endif
+#endif /* SparcArchitecture */
+
#ifdef ARMArchitecture
#define LinuxMachineDefines -D__arm__
#define LSBBitOrder YES
--
1.7.10.4
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel