[omniORB] Where is powerpc_linux_2.2_glibc.mk?
Craig Rodrigues
rodrigc@mediaone.net
Mon, 4 Dec 2000 08:30:39 -0500
Duncan,
Creating a powerpc_linux mk file is not enough to get things to work.
Some patches are required.
I've attached them.
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net
Index: include/omniORB3/CORBA_sysdep.h
===================================================================
RCS file: /cvsroot/omni/include/omniORB3/CORBA_sysdep.h,v
retrieving revision 1.5
diff -u -r1.5 CORBA_sysdep.h
--- CORBA_sysdep.h 2000/10/02 17:21:28 1.5
+++ CORBA_sysdep.h 2000/12/04 13:26:53
@@ -483,6 +483,8 @@
# define _OMNIORB_HOST_BYTE_ORDER_ 0
# define _HAS_SIGNAL 1
# define _USE_GETHOSTNAME 1
+#elif defined(__powerpc__)
+# define _OMNIORB_HOST_BYTE_ORDER_ 0
#else
# error "The byte order of this platform is unknown"
#endif
Index: src/tool/omniidl/cxx/CORBA_sysdep.h
===================================================================
RCS file: /cvsroot/omni/src/tool/omniidl/cxx/CORBA_sysdep.h,v
retrieving revision 1.7
diff -u -r1.7 CORBA_sysdep.h
--- CORBA_sysdep.h 2000/08/18 14:09:09 1.7
+++ CORBA_sysdep.h 2000/12/04 13:26:53
@@ -459,6 +459,8 @@
# define _OMNIORB_HOST_BYTE_ORDER_ 0
# define _HAS_SIGNAL 1
# define _USE_GETHOSTNAME 1
+#elif defined(__powerpc__)
+# define _OMNIORB_HOST_BYTE_ORDER 0
#else
# error "The byte order of this platform is unknown"
#endif
Index: src/tool/omniidl/cxx/cccp/config-linux.h
===================================================================
RCS file: /cvsroot/omni/src/tool/omniidl/cxx/cccp/config-linux.h,v
retrieving revision 1.5
diff -u -r1.5 config-linux.h
--- config-linux.h 2000/08/18 14:09:05 1.5
+++ config-linux.h 2000/12/04 13:26:53
@@ -1,4 +1,4 @@
-#if defined(__x86__)
+#if defined(__x86__) || defined(__powerpc__)
#define SIZEOF_UNSIGNED_CHAR 1
#define SIZEOF_INT 4