[Oorexx-devel] AIX 64 bit build / test suite

2008-12-30 Thread Rainer Tammer
: 2.0.0_3.2.0ooTest: 1.0.0_4.0.0 Tests ran: 18777 Assertions: 551047 Failures:3 Errors: 0 Skipped files: 21 [failure] [20081230 09:33:06.875724] svn:r3371 Change date: 2008-09-21 06:33:29 +0200 Test: TESTFLOAT01 Class

[Oorexx-devel] AIX 64 bit build / patch proposal

2008-12-30 Thread Rainer Tammer
Hello, with the following build options: export CC=xlc_r export CXX=xlC_r export LDFLAGS=-Wl,-brtl export OBJECT_MODE=64 ./configure --disable-static make and the following patch (attached as patch file) Index: interpreter/runtime/Numerics.cpp

Re: [Oorexx-devel] AIX 64 bit build / patch proposal

2008-12-30 Thread Mark Miesfeld
On Tue, Dec 30, 2008 at 7:30 AM, Rick McGuire object.r...@gmail.com wrote: There's no standard for what rexx -v returns, so we have a lot of freedom here. I'm not sure I like the parenthetical form. The word size is not really a modifier of the version number, but an attribute of its own.

[Oorexx-devel] ooRexx -v and 32 / 64 bit

2008-12-30 Thread Rainer Tammer
Hello, I would like to see a small change to rexx -v: I would also like to see some type of change here. On 64-bit windows, 32-bit binaries also run. I'd like to be able to tell from the command line which binary, 32-bit or 64-bit, was getting invoked. Proposed version: Open

Re: [Oorexx-devel] AIX 64 bit patch

2008-12-30 Thread Rainer Tammer
Hello, should I prepare a new patch an post it to the tarcker or is this sufficient ?? api/platform/unix/rexxapitypes.h ?? // AIX does not define __WORDSIZE, use __64BIT__ instead #if __WORDSIZE == 64 || defined(__64BIT__) #define __REXX64__ #else #undef __REXX64__ #endif // AIX (and maybe

Re: [Oorexx-devel] AIX 64 bit patch

2008-12-30 Thread Mark Miesfeld
Rainer, I just took your input below and committed a change. Thanks for tracking this down and thanks a lot for doing the AIX builds. I don't know who else would get access to an AIX system. -- Mark Miesfeld On Tue, Dec 30, 2008 at 10:08 AM, Rainer Tammer tam...@tammer.net wrote: Hello,

Re: [Oorexx-devel] AIX 64 bit patch

2008-12-30 Thread Rainer Tammer
Hello, there is a little problem with the patch... You have unfortunately used the 32 bit part (with the LL): // AIX (and maybe others) needs a little help here #ifdef __REXX64__ #ifndef __INT64_C #define __INT64_C(c) c ## L- this is the 64 bit version #endif #else #ifndef __INT64_C

[Oorexx-devel] Some thoughts about rxapi

2008-12-30 Thread Rainer Tammer
Hello, during my work on the 64 bit ooRexx 4.0.0 build on AIX I have come to the conclusion that it would be nice to change the rxapi a bit: * Change name rxapi for 64 bit to rxapi64 * Change the pid name rxapi.pid to rxapi64.pid * Change REXX_API_PORT for 64 bit to the 32 bit port +1 With this

[Oorexx-devel] ooRexx test suite 3829

2008-12-30 Thread Rainer Tammer
Hello, SVN 3831 does not solve the remaining three AIX 64 bit test failures... [failure] [20081230 20:19:50.558538] svn:r3829 Change date: 2008-12-30 16:10:06 +0100 Test: TESTFLOAT01 Class: CONVERSION.testGroup File: /daten/svn/ooRexx/test/trunk/ooRexx/API/oo

Re: [Oorexx-devel] AIX 64 bit patch

2008-12-30 Thread Mark Miesfeld
On Tue, Dec 30, 2008 at 11:15 AM, Rainer Tammer tam...@tammer.net wrote: there is a little problem with the patch... You have unfortunately used the 32 bit part (with the LL): #ifndef __INT64_C #define __INT64_C(c) c ## L- this is the 64 bit version Sorry, I wasn't thinking. I'll

Re: [Oorexx-devel] AIX 64 bit patch

2008-12-30 Thread Rick McGuire
If rexxplatformdefs.h is the location for the Windows version of this, then it's probably the most appropriate place for the *ix equivalent. Rick On Tue, Dec 30, 2008 at 2:38 PM, Mark Miesfeld miesf...@gmail.com wrote: On Tue, Dec 30, 2008 at 11:15 AM, Rainer Tammer tam...@tammer.net wrote:

Re: [Oorexx-devel] AIX 64 bit patch

2008-12-30 Thread Rainer Tammer
Hello, Rick McGuire wrote: If rexxplatformdefs.h is the location for the Windows version of this, then it's probably the most appropriate place for the *ix equivalent. sorry, I forgot to check the Windows version... The unix/rexxplatformdefs.h is good. I only have used the __REXX64__ to

[Oorexx-devel] Backwards compatibility problem

2008-12-30 Thread Mark Miesfeld
Rick, Thanks to your doing things right, some programs now produce different results in 4.0 than in 3.2.0. grin Take this example /* runRexx.rex */ 'rexx rexxPrg.rex' say 'return:' rc /* rexxPrg.rex */ return -35 In 3.2.0, runRexx.rex produces: return: 65501 while in 4.0.0 it produces