From: Luc Evers Date: 2012-08-23T17:41:24+09:00 Subject: Re: How to create an EXecutable file (Linux) --00248c6a66c2e4ecb704c7ead2e2 Content-Type: text/plain; charset=ISO-8859-1 We are using JRuby , compile the src file and start the file via a small C-routine. # jrubyc can compile your src file. *test.c #include #include int main(int argc, char * argv[]) { char cmdLine[4096]; sprintf(cmdLine, "jruby --ng /home/test/jruby/test.class %s", argv[1]); system(cmdLine); //puts(cmdLine); } * * * *gcc test.c -o jtest* * * *start jtest.* * * *Reverse engineering is always possible.* * * * * * Luc.* On Thu, Aug 23, 2012 at 10:26 AM, Sergey Gribovski wrote: > Maybe you should try to use jRuby, I heard there is a possibility to > make binary file from ruby script. But I can be wrong... > > -- > Posted via http://www.ruby-forum.com/. > > --00248c6a66c2e4ecb704c7ead2e2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =A0 We are using JRuby , compile the src file and start the file via a smal= l C-routine.

=A0 # jrubyc can compile your src file.=A0<= br>

test.c#include <stdio.h>
#i= nclude <stdlib.h>

int main(int argc, char * = argv[])
{
char cmdLine[4096];
sprintf(cmdLine, "jruby --ng /home/test/jruby/test.= class %s", argv[1]);
system(cmdLine);
//puts(cmdLine);
}

gcc test.c -o jtest

<= span style=3D"font-size:15px;font-family:Arial;vertical-align:baseline;whit= e-space:pre-wrap">start jtest.

<= span style=3D"font-size:15px;font-family:Arial;vertical-align:baseline;whit= e-space:pre-wrap">Reverse engineering is always possible.

<= span style=3D"font-size:15px;font-family:Arial;vertical-align:baseline;whit= e-space:pre-wrap">
Luc.


On Thu, Aug 23, 2012 at 10:26 AM, S= ergey Gribovski <lists@ruby-forum.com> wrote:
Maybe you should try to use jRuby, I heard there is a possibility to
make binary file from ruby script. But I can be wrong...

--00248c6a66c2e4ecb704c7ead2e2--