<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" data-hsystem="true"></head>
<body><style>p{margin: 0;padding: 0;}

</style>
<p>Maciej,</p>
<p> </p>
<p>Thanks for the idea.  I played with the sandboxed version and it looks like
it has potential. </p>
<p> </p>
<p>I searched the web for a C/C++ version of the controller but with no luck. 
I saw questions about it and interest expressed but couldn't find anyone who had
actually built one.  Do you (or does anyone) know of an example?  Ideal would
probably be one implementing SimpleIOSandboxedProc since that would allow
streaming of Python source to stdin.</p>
<p> </p>
<p>I can start from the Python controller if necessary but I'm a C/C++
programmer by trade with very little Python experience.  A C example would make
it much faster to spin up.</p>
<p> </p>
<p>Thanks,</p>
<p>-Tom<br><br>On Fri, 24 Apr 2015 21:30:18 +0200, Maciej Fijalkowski
<fijall@gmail.com> wrote:</p>
<blockquote style="border-left: 2px solid #000000; padding-right: 0px;
padding-left: 5px; margin-left: 5px; margin-right: 0px;">pypy generally needs to
find a bunch of files for it's standard<br> library. I would suggest trying
something a-la the sandboxed version<br> where all the external calls go via a
special proxy that you can write<br> in C++. it's a bit of effort though. What
are you trying to achieve if<br> you have no filesystem? (e.g. the whole module
system can't<br> potentially work)<br><br> On Fri, Apr 24, 2015 at 8:30 PM,
<tom@twhanson.com> wrote:<br> > I'm evaluating PyPy for use in an
application where it will be running in an<br> > RTOS (Greenhills Integrity)
which is congifured without a file system at<br> > runtime. The rest of the
application is C/C++.<br> ><br> ><br> ><br> > Is there a way to
build PyPy for this environment? The issue I see is that<br> >
pypy_setup_home()requires a file system path to an executable / .so library.<br>
><br> ><br> ><br> > Is it possible to statically link PyPy into the
application and the give an<br> > equivalent to pypy_setup_home() a pointer
to the linked code? Some other<br> > approach?<br> ><br> ><br> ><br>
> Thanks<br> ><br> > Tom<br> ><br> ><br> ><br> ><br> >
_______________________________________________<br> > pypy-dev mailing
list<br> > pypy-dev@python.org<br> >
https://mail.python.org/mailman/listinfo/pypy-dev<br> ><br>
_______________________________________________<br> pypy-dev mailing list<br>
pypy-dev@python.org<br> https://mail.python.org/mailman/listinfo/pypy-dev<br>
</blockquote>
<p><br><br></p>

</body>
</html>