Package: zeroc-ice
Version: 3.0.0-9
Severity: wishlist
Tags: patch
Please support the MIPS platform.
> Automatic build of zeroc-ice_3.0.0-9 on bigsur by sbuild/mips 1.106
...
> c++ -c -I../../include -DICE_UTIL_API_EXPORTS -I.. -ftemplate-depth-128
> -Wall -D_REENTRANT -fPIC -g Base64.cpp
> In file included from ../../include/IceUtil/Base64.h:13,
> from Base64.cpp:10:
> ../../include/IceUtil/Config.h:27:5: error: #error "Unknown architecture"
> make[3]: *** [Base64.o] Error 1
> make[3]: Leaving directory `/build/tbm/zeroc-ice-3.0.0/src/IceUtil'
This looks exactly the same as the failure I've seen with
zeroc-icee-translators. The patch I submited there is below. If more
is needed, please let me know
--- ./include/IceUtil/Config.h~ 2005-08-16 16:46:12.000000000 +0000
+++ ./include/IceUtil/Config.h 2006-03-20 01:06:27.000000000 +0000
@@ -17,10 +17,10 @@
// of Itanium (IA64) and MIPS.
//
#if defined(__i386) || defined(_M_IX86) || defined (__x86_64) || \
- defined(__alpha__)
+ defined(__alpha__) || defined(__MIPSEL__)
# define ICE_LITTLE_ENDIAN
#elif defined(__sparc) || defined(__sparc__) || defined(__hppa) || \
- defined(__ppc__) || defined(_ARCH_COM)
+ defined(__ppc__) || defined(__MIPSEB__) || defined(_ARCH_COM)
# define ICE_BIG_ENDIAN
#else
# error "Unknown architecture"
--- ./src/icecpp/config.h~ 2006-03-20 00:42:36.000000000 +0000
+++ ./src/icecpp/config.h 2006-03-20 00:47:51.000000000 +0000
@@ -63,7 +63,7 @@
#if defined(_WIN32)
# define WCHAR_TYPE_SIZE 2
#elif (defined(__linux) || defined(__FreeBSD__)) && \
- (defined(__i386) || defined(__x86_64) || defined(__sparc)) || \
+ (defined(__i386) || defined(__x86_64) || defined(__sparc) ||
defined(__mips)) || \
defined (__sun) || defined(__hpux) || defined(__APPLE__) || \
defined(_AIX) || defined(__osf1__)
# define WCHAR_TYPE_SIZE 4
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]