sitemule / ILEastic

Embedded application server for ILE on IBM i
Apache License 2.0
58 stars 29 forks source link

Compile Target Release V7R1M0 #68

Closed sjmorales closed 4 years ago

sjmorales commented 5 years ago

Is there a way to compile ILEastic with TGTRLS(V7R1M0)? We have 60 machines with that version requirement.

I think I had troubles with FastCGI if that is something we can remove from the compile.

NielsLiisberg commented 5 years ago

Thank you for your interest in ILEastic.

The code of ILEastic it self can be compiled back to 5.4, so mo problem there. The real issue here is the portotypes provided for RPG - and here I think it is about TR ( Technical refresh) and not release. The issues I see here is: if you are willing to back-port the prototypes to D-specs this can be done. You can even use ILEastic without the rtnparm feature, simply by specifying the first parameter - that is the lefthand of the = sign. so

text = il_getReqStr(pReq: 'input')

can we rewritten to

il_getReqStr(text : pReq : 'input')

.. On 7.1. Another feature is the use of convert to/from UTF-8 since ILEastic internally only work on UTF-8 data. The last thing is varchar(4) where prior version of RPG only had varchar(2) .. I can not remember when the limit of 32K was removed.

So the answer : It can be done however 7.3 was the target for ILEastic from the beginning.

If you are interested - I can ask management to set up a project for backwards compatibility for you, however I also think they will need a sponsor for that kind of projects.

sjmorales commented 5 years ago

We could probably be able to go with V7R2 as a minimum allowing for more free format flexibility. If someone was interested in doing it in such a way where it could be maintained via compiler directives so that it could be part of the main repository and be done within a relatively short period of time, we could possibly talk with the money people to fund a sponsorship if we find we want to go this route.

priosoft commented 5 years ago

I will be fantastic if I could compile to 5.4 I have several customer based on this old release.

It is possible.?

Da: Niels Liisberg notifications@github.com Inviato: mercoledì 8 maggio 2019 00:16 A: sitemule/ILEastic ILEastic@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Oggetto: Re: [sitemule/ILEastic] Compile Target Release V7R1M0 (#68)

Thank you for your interest in ILEastic.

The code of ILEastic it self can be compiled back to 5.4, so mo problem there. The real issue here is the portotypes provided for RPG - and here I think it is about TR ( Technical refresh) and not release. The issues I see here is: if you are willing to back-port the prototypes to D-specs this can be done. You can even use ILEastic without the rtnparm feature, simply by specifying the first parameter - that is the lefthand of the = sign. so

text = il_getReqStr(pReq: 'input')

can we rewritten to

il_getReqStr(text : pReq : 'input')

.. On 7.1. Another feature is the use of convert to/from UTF-8 since ILEastic internally only work on UTF-8 data. The last thing is varchar(4) where prior version of RPG only had varchar(2) .. I can not remember when the limit of 32K was removed.

So the answer : It can be done however 7.3 was the target for ILEastic from the beginning.

If you are interested - I can ask management to set up a project for backwards compatibility for you, however I also think they will need a sponsor for that kind of projects.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sitemule/ILEastic/issues/68#issuecomment-490274675 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABJ74E63ZVWXNACUGEXX7X3PUH5QLANCNFSM4HLLOP6Q . https://github.com/notifications/beacon/ABJ74E7NRJFQTWINYYF23NLPUH5QLA5CNFSM4HLLOP62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODU4P64Y.gif

NielsLiisberg commented 5 years ago

@priosoft 5.4 is no problem since the core code is in ANSI C - which have not changed much between 5.4 and 7.4. Even the teraspacing we are using for memory are supported in C at 5.4.

The problems is the wrappers and prototypes to cope with RPG

If 5.4 is the issue for you, you might instead take a look at the IceBreak community edition which is free and open and has a build for 5.4

http://download.icebreak.org/download/icebreak/IceBreakSetup0558.exe

The ILEastic project are partial the IceBreak server delivered as opensource.

@sjmorales Some of the features that came in 7.1 was free-format prototypes - However between 7.1. and 7.2 not much happend in the RPG interface department so i think 7.1 will be sufficient and then you are not forced to upgrade to 7.2 - but rather wait to go directly to 7.4 when time is

NielsLiisberg commented 4 years ago

Target release can now go back to 7.2