From: Moritz H. <ant...@gm...> - 2008-03-19 17:57:37
|
Hey again, I feel like I've got to reply to this one as I dragged you here ;-) On Wed, Mar 19, 2008 at 5:47 PM, Steve Johnson <ste...@gm...> wrote: > <already posted on the ooRexx Developers forum, but posting here at Moritz's > request> > > Greetings, > > See the conversation between Moritz and myself in the "Help" forum. > > I'm trying to get ooRexx installed on SunOS 8 and 10 boxes with SPARC > processors. I understand they need to be compiled as 32-bit applications, > but that much information isn't getting us anywhere. > > I am able to issue 'rexx -v' successfully with the current installation: Running the command 'rexx -v' only shows that the rexx executable itself runs fine. That means that all libraries etc. are found. It does not mean it can execute any rexx code. When building rexx there is a special stage where an image is created. This image consists of flattened C++ objects. Inside of it all rexx classes and routines are located. These are instances for classes defined in the rexx library. When rexx is started again in normal mode (not image create or -v) it will attempt to restore the image. As the image also stores pointers, it will only work on the architecture it was created for. I think it is obvois why a 32-bit image can not load on a 64-bit environment... To find out about his kind of errors we need a stack trace. If the error occurred during image restore it is very likely that the bit issue is the reason for it. You have said that you run ooRexx on both Solaris 8 and 10. As far as I know Solaris 8 still supports the old SPARC machines that run on 32 bit (Actually I've got a very old one around somewhere running Solaris 8), but Solaris 10 dropped 32 bit support for SPARC. For x86 based platforms it still seems to support it, but I can't verify. I'm pretty sure that there exist some 32 bit environment for 64 bit Solaris OS. This is needed to support legacy applications. To find out if you have the 32 bit environment I think you can use the following command: isainfo -v I can't test myself, but the documentation says that it determines the available environments. What you can try to do is to recompile ooRexx on your machine with 32 bits. If you're using gcc you have to pass -m32 as a compiler flag. The Sun C compiler may use different options. Well, I hope that this helps, but I'm rather new to Solaris and SPARC (Although that it seems to be a pretty good platform, once I'll find the time I want to try it). Best regards, Moritz -- Moritz Hoffmann; http://antiguru.de/ |