Hi Carl,
        Great! It worked!
        So the option disables all modules, and IO as well?
        
        Cheers,
        John Zhang
> On 19 Mar 2015, at 4:18 am, Carl Friedrich Bolz <cfb...@gmx.de> wrote:
> 
> On 18/03/15 01:01, John Zhang wrote:
>> Hi all,
>>     I'm working on developing a MicroVM backend for PyPy. It's a
>> virtual machine under active research and development by my colleagues
>> in ANU. It aims to capture GC, threading and JIT in the virtual machine,
>> and frees up the burden of the language implementers.
>> 
>>     Since MicroVM provides GC, I need to remove GC from the PyPy
>> interpreter. As I was trying to compile it with the following command:
>>     pypy $PYPY/rpython/bin/rpython \
>>           -O0 \
>>           --gc=none \
>>           --no-translation-rweakref \
>>           --annotate \
>>           --rtype \
>>           --translation-backendopt-none \
>>           $PYPY/pypy/goal/targetpypystandalone.py
> 
> Hey John,
> 
> Try the following:
> rpython -O0 --gc=none --no-translation-rweakref --annotate --rtype 
> --translation-backendopt-none targetpypystandalone.py --no-allworkingmodules 
> --withoutmod-_io
> 
> Cheers,
> 
> Carl

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to