Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is it possible to compile Object REXX for Windows to an Executable?

402 views
Skip to first unread message

RKR

unread,
Oct 11, 2002, 11:13:42 AM10/11/02
to
I was wondering if anyone knew if it is possible to compile REXX into a
32bit windows executable.


Michael Lueck

unread,
Oct 11, 2002, 4:40:25 PM10/11/02
to
Not directly into an executable, you can arrive at a tokenized file.

If you got fancy you could embed that tonenized data into an EXE, have the EXE allocate that tokenized data into memory, then pass that memory to RexxStart() allong with the command line parms... that is pretty much be what an Object Rexx EXE would be.

--
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.

Patrick TJ McPhee

unread,
Oct 11, 2002, 4:32:31 PM10/11/02
to
In article <ao6pj9$hds$1...@ausnews.austin.ibm.com>, RKR <iH...@Spam.com> wrote:
% I was wondering if anyone knew if it is possible to compile REXX into a
% 32bit windows executable.

You can use Mark Hessling's rexx/wrapper to create an executable which has
the rexx code compiled in to it. If your goal is to improve performance
by compiling into machine code, this won't help, but if the goal is to
have a single executable which includes rexx code, it can be helpful.
http://rexxwrapper.sourceforge.net

--

Patrick TJ McPhee
East York Canada
pt...@interlog.com

Mark Yudkin

unread,
Oct 13, 2002, 4:26:52 AM10/13/02
to
If your aim is:
- either to obfuscate the code,
- or to distribute your application with the OO-REXX runtime (i.e. without
requiring that your users install OO-REXX)
- or both
then you can use the REXXC utility. as described in the Programming Guide
under Object REXX Runtime.

"RKR" <iH...@Spam.com> wrote in message
news:ao6pj9$hds$1...@ausnews.austin.ibm.com...

RKR

unread,
Oct 15, 2002, 10:24:09 AM10/15/02
to
I tried using the REXXC utility with a very simple program (ie say 'Hello
World') and while it had no problem making the output file, it did not seem
to work. Any suggestions?


"Mark Yudkin" <myu...@compuserve.com> wrote in message
news:aobamv$45q$1...@nntp-m01.news.aol.com...

Mark Yudkin

unread,
Oct 17, 2002, 2:30:56 AM10/17/02
to
No suggestions, it works fine for me (OO-REXX Development V2.1.1 on W2K).

"RKR" <iH...@Spam.com> wrote in message

news:aoh868$6rk$1...@ausnews.austin.ibm.com...

Michael Lueck

unread,
Oct 17, 2002, 6:24:21 AM10/17/02
to
RKR wrote:
>
> I tried using the REXXC utility with a very simple program (ie say 'Hello
> World') and while it had no problem making the output file, it did not seem
> to work. Any suggestions?

Keep in mind that does not produce an EXE, it tokenizes the source so people can't see it / steal your code.

RexxC myProg.rex myProgTok.rex <-- Tokenize
Rexx myProgTok.rex <-- Execute

Now, Rexx is merely a kick-start EXE to read in the source file and pass it off to the DLL. What I was saying above is either you can build your own EXE, or try out RexxWrapper which I had forgotten about, to build a program that is basically Rexx.exe + myProgTok.rex all in one file.

RKR

unread,
Oct 17, 2002, 11:17:15 PM10/17/02
to
wow....Now that's cool. Thanks for the help, it worked like a champ.


"Michael Lueck" <Nmlu...@SlueckPdataAsystemsM.com> wrote in message
news:3DAE8FD5...@SlueckPdataAsystemsM.com...

0 new messages