[pypy-dev] targetreallynopstandalone.py => TypeError: string vs LocalPath

Antonio Cuni anto.cuni at gmail.com
Tue Mar 20 13:40:41 CET 2012


On 03/20/2012 12:51 PM, Peter Cock wrote:
> Hi all,
> 
> After a teething error with PyPy calling GCC with unescaped paths,
> which I solved by moving to a directory without spaces in the full
> path, I made some progress.
> 
> First, get PyPy from hg - perhaps checking out a known good
> revision:
> 
> $ hg clone http://bitbucket.org/pypy/pypy pypy
> $ cd pypy
> $ hg checkout release-1.8
> 
> Next, using the Richards example (short but non-trivial),
> 
> $ cd pypy/translator/goal
> $ python translate.py --run targetrichards.py

I never heard of the --run option before :-)
You don't need it: just run translate.py targetrichards.py and you'll get a
targetrichards-c executable.

ciao,
Anto



More information about the pypy-dev mailing list