[prev in list] [next in list] [prev in thread] [next in thread]
List: omniorb-list
Subject: [omniORB] Re: Port to Sparc Linux?
From: Sai-Lai Lo <S.Lo () uk ! research ! att ! com>
Date: 2000-09-27 22:31:25
[Download RAW message or body]
>>>>> Jonas Valkiunas writes:
> Are there any plans to port omniORB to Sparc Linux? Specifically we are
> using Red Hat 6.2 on a Sparc64 with the 2.2.17 kernel.
We haven't done it ourselves. Why don't you give it a try? It shouldn't
take long to do so. Roughly, the steps are as follows:
1. Create a platform file:
<top>/mk/platforms/sparc_linux_2.2_glibc2.1.mk
You can start by copying i586_linux_2.0_glibc2.1.mk
You can reuse all the settings in the file except:
1. IMPORT_CPPFLAGS
change __x86__ to __sparc__
2. Change x86Processor = 1 to SparcProcessor = 1
(This is however not essential.)
2. Specify the byte order in <top>/include/omniORB3/CORBA_sysdep.h
Look for the relevant section and add:
#elif defined(__sparc__) && defined(__linux__)
#define _OMNIORB_HOST_BYTE_ORDER_ 0
3. Is long in gcc-Sparc64 32-bit? If so there is nothing to do.
Otherwise you may have to define SIZEOF_LONG like that for alpha.
That is it. Compile and try it out.
Sai-Lai
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic